Using the Search Widget, my map zooms into the area and then shows a circle. What is that circle representing? Population centroid?
Solved! Go to Solution.
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.
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
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?
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.