Initializes a new instance of the CircleMarker class.
Namespace: MindFusion.Mapping
Package: CircleMarker.js
JavaScript Copy Code |
---|
function CircleMarker ([location, [radius]]) |
LatLong. The location of this marker in geographical coordinates.
Number. The radius of this marker in meters.
The following code creates a new CircleMarker and adds it to the decorations of a DecorationLayer.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView var markers = new m.DecorationLayer("Images"); // create some markers with images view.layers.add(markers); |