Gets or sets the location of this Decoration.
Namespace: MindFusion.Mapping
File: Decoration.js
SyntaxJavaScript
Copy Code
|
|---|
get location() {} |
LatLong. A LatLong instance representing the geographic coordinates of this Decoration.
ExampleThe following code creates a new Marker and uses the location property to specify its coordinates. The Marker class derives from Decoration.
JavaScript
Copy Code
|
|---|
var m = MindFusion.Mapping; var mark = new m.Marker(); |
See Also