Using the Search Widget, my map zooms into the area and then shows a circle. What is that circle representing? Population centroid?
Ah, I see. Yes, if you supply just a zip code using the findAddressCandidates operation or the geocodeAddresses operation, the returned lat/long is the centroid of the zip code polygon.
Noah,
Thanks for the reply. I probably to make my question clear. The search widget uses the esri geocoder.
My question is, when I search for a zip code, the geocoder comes back with a specific latitude/longitude combination. What combination is Esri returning on a search? Is it the population centroid?
http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?
I may be misunderstanding your question, but I believe that circle is just a graphic added to the map to indicate the location result of the Search.
https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#resultGraphic
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.