Gets or sets the attribution HTML of the layer.
Namespace: MindFusion.Mapping
File: MapLayer.js
SyntaxJavaScript
Copy Code
|
|---|
get attribution() {} |
String. The attribution HTML of the layer.
ExampleThe following code creates a new MapLayer which loads its map tiles from a tile server. It uses the attribution property to attribute the service.
JavaScript
Copy Code
|
|---|
var m = MindFusion.Mapping; // create a new instance of the mapView var l = new m.MapLayer(); |
See Also