JavaScript
mapControl.removeMarkerGroup Method
Syntax
mapObj.removeMarkerGroup(groupName);
Arguments
- groupNamestring
The name of the marker group containing the markers to remove.
Description
Removes all markers in a group from a Map Control.
Example
//get a pointer to the map control for variable 'mymap1' var mapObj = {dialog.object}.getControl('mymap1'); if (mapObj) { // remove the markers in 'myMarkerGroup1' mapObj.removeMarkerGroup('myMarkerGroup1'); }