Gets or sets the string identifier of this decoration.
Namespace: MindFusion.Mapping
Package: Decoration.js
JavaScript Copy Code |
---|
Object.defineProperty(Decoration.prototype, "id", { value: String }); |
String. The string identificator.
The following code creates a new Marker and sets its id property, then adds it to the decorations of a DecorationLayer instance. The Marker class derives from Decoration.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; var markers = new m.DecorationLayer("Images"); // create some markers with images |