Use Proportional Markers in a Map
Standard Esri Map Control
Use Proportional Markers in a Map
This example uses proportional markers to display the building evacuation radii in real-world units for buildings in Philadelphia.
Call
setProportional()
to set the proportional property of the markers, passing in the data field containing the evacuation radii, the unit of mesure of the data values, and what the data value represents in the real world:
markerProperty.setProportional('bl.radius_evac', 'meters', 'radius');
Assign the building restriction to the marker property and refresh the map:.
markerProperty.setRestriction(restriction); this.mapControl.updateDataSourceMarkerPropertyPair('bl_ds', markerProperty); this.mapControl.refresh();