Gets or sets the attribution HTML of the layer.
Namespace: MindFusion.Mapping
Package: MapLayer.js
JavaScript Copy Code |
---|
Object.defineProperty(MapLayer.prototype, "attribution", { value: String }); |
String. The attribution HTML of the layer.
The 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(); |