Gets or sets the visibility of this DecorationLayer.
Namespace: MindFusion.Mapping
Package: DecorationLayer.js
JavaScript Copy Code |
---|
Object.defineProperty(DecorationLayer.prototype, "visible", { value: Boolean }); |
Boolean. True if the layer is visible, otherwise false.
The following code creates a new Decorationlayer and makes it invisible:
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 |