Initializes a new instance of the CircleMarker class.
Namespace: MindFusion.Mapping
File: CircleMarker.js
SyntaxJavaScript
Copy Code
|
|---|
function CircleMarker ([location, [radius]]) |
LatLong. The location of this marker in geographical coordinates.
Number. The radius of this marker in meters.
ExampleThe 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); |
See Also