Gets or sets the css class of this Decoration.
Namespace: MindFusion.Mapping
Package: Decoration.js
JavaScript Copy Code |
---|
Object.defineProperty(Decoration.prototype, "cssClass", { value: String }); |
String. The name of the css class of the Decoration.
The following code creates a new DecorationLayer and adds a new Marker to the layer's decorations property. The Marker class derives from Decoration.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; var markers = new m.DecorationLayer("Images"); // create some markers with images |