I am trying top use the MapImageLayer find function and it will only return data for the top layer. I have changed the layers parameter to "all", but still just get results for the top layer.
Any help is welcome.
-bert
here's the code I'm using.
from arcgis.gis import GIS
from arcgis.features import FeatureSet, Feature, FeatureLayer, FeatureLayerCollection
from arcgis.mapping import MapImageLayer
theURL = "https://jcgis.jacksongov.org/arcgis/rest/services/ElectionAdministration/ElectedOfficials/MapServer/0"
theURL = theURL[:-2]
mil = MapImageLayer(theURL)
findRes = mil.find("Cleaver","all",return_geometry=True)
print(findRes)
for keyMil, valueMil in findRes.items():
print(keyMil)
##print(valueMil[0])
print(len(valueMil))