Standard Esri Map Control

Use Thematic-Proportional Markers in a Map

Technologies > User Interface Add-Ins > Geographic Information System (GIS) Views > Map with Thematic-Proportional Markers

This example uses thematic proportional markers to display building evacuation radii and building use for buildings in Philadelphia. Marker size indicates the real-world evacuation radius. Marker color indicates building use.

First, create thematic 'buckets' for building use. By specifying an empty bucket, the map control will automatically determine and include all the unique building use values. This approach uses a unique value renderer:

var thematicBuckets = [];

Next call setThematicProportional() to set the thematic proportional property of the markers, passing in the building use field name, the thematicBuckets, the building evacuation radius field name, the evacuation radius units of measure, and what the building evacuation value represents in the real world:

markerProperty.setThematicProportional('bl.use1', thematicBuckets, '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();

See: Show Buildings on a Map

Sample view: http://localhost:8080/archibus/schema/ab-products/solutions/arcgis/standard/markers/ab-arcgis-map-proportional-renderer.axvw