Gets or sets the template string of the tile server URL.
Namespace: MindFusion.Mapping
File: MapLayer.js
SyntaxJavaScript
Copy Code
|
|---|
get urlTemplate() {} |
String. The template string of the tile server URL.
ExampleThe 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(); |
See Also