Gets the parent control of this layer.
Namespace: MindFusion.Mapping
Package: DecorationLayer.js
JavaScript Copy Code |
---|
Object.defineProperty(DecorationLayer.prototype, "parent", { value: MapView }); |
MapView. The parent control of this layer.
The following code checks what is the MapView that a DecorationLayer belongs to:
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
|