Layer - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki
The LAYER widget defines a map tile layer for the MAP.
- A
LAYERmust still be contained within theMAPelement. - If the map
LAYERis not specified, theMAPwill user the open street map. - If multiple
LAYER's are defined, they are stacked in the same order as defined in the template.
| Name | Type | Default | Description | Req |
|---|---|---|---|---|
| url | string | https://tile.openstreetmap.org/{z}/{x}/{y}.png | The url to the tile provider | ✔ |
| visible | bool | true | Shows/hides the layer on the MAP
|
<?xml version="1.0"?>
<MAP>
<LAYER url="https://tile.openstreetmap.org/{z}/{x}/{y}.png"/>
<LAYER url="https://api.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}@2x.jpg90access_token=<mapbox api key>"/>
</MAP>