Demographic Data
Zoom in and click on a city, or use the Search Widget to find a city, and you will see a popup with population data for a 1-mile radius buffer around the selected point.
This sample currently uses code from our GeoBlazor Pro extensions library.
For more information about licensing these advanced features, contact info@dymaptic.com.
About this sample
This GeoBlazor Pro sample, written in Blazor for .NET developers, demonstrates GeoEnrichment-style demographic queries from the ArcGIS Maps SDK for JavaScript exposed through GeoBlazor Pro's ArcGISRest service combined with the LocationService, GeometryEngine, and SearchWidget Razor components. The page shows a 2D navigation basemap initially centered on Milan, Italy. A SearchWidget pinned in the upper-right corner lets the user type a place name, and the user can also click any point on the map. On either action, the sample reverse-geocodes the location to a city name, draws a one-mile geodesic buffer polygon as a translucent overlay using GeometryEngine.GeodesicBuffer, calls ArcGISRest.QueryDemographicData to retrieve global demographic facts for that buffer, and opens a popup showing total population, male and female counts, and average household size. The sample is intended to demonstrate how to combine geocoding, buffering, and demographic enrichment into a single click-driven workflow.