JavaScript
mapControl.emphasizeMarker Method
Syntax
mapObj.emphasizeMarker(markerName [, duration]);
Arguments
- markerNamestring
The name of the marker to emphasize.
- durationnumber
The duration to bounce the marker specified in milliseconds. The marker will be deemphasized automatically after the specified duration.
Description
Emphasize (bounce) a marker. If a duration is specified, the marker will automatically be deemphasized after the specified duration.
Example
//get a pointer to the map control for variable 'mymap1'
var mapObj = {dialog.object}.getControl('mymap1');
if (mapObj) {
mapObj.emphasizeMarker('myMarker1',2000);
}