Gets or sets the template string of the tile server URL.
Namespace: MindFusion.Mapping
Package: MapLayer.js
JavaScript Copy Code |
---|
Object.defineProperty(MapLayer.prototype, "urlTemplate", { value: String }); |
String. The template string of the tile server URL.
The following code creates a new MapLayer which loads its map tiles from a tile server, which is specified using the urlTemplate property:
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView var l = new m.MapLayer(); |