Gets or sets the text of this decoration.
Namespace: MindFusion.Mapping
File: Decoration.js
SyntaxJavaScript
Copy Code
|
|---|
get text() {} |
String. The text.
ExampleThe following code creates a new Marker and 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 |
See Also