-
Notifications
You must be signed in to change notification settings - Fork 4
Layer
Isaac Olajos edited this page Jan 5, 2024
·
8 revisions
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>Framework Markup Language is an open source programming language created by AppDaddy Software Solutions Inc. FML and is licensed under a fair source license agreement and is maintained by a community of developers.
- Quick Start
- Widget Structure
- Layout Basics
- Config
- Navigation
- Authentication
- Server Configuration
- Offline Use
- Resource Guides
-
<FML/>
- <BOX/>
- <CHART/>
- <COLUMN/>
- <DRAWER/>
- <FOOTER/>
- <FORM/>
- <GRID/>
- <HEADER/>
- <LIST/>
- <MAP/>
- <WINDOW/>
- <PAGER/>
- <ROW/>
- <SCROLLER/>
- <SPLITVIEW/>
- <STACK/>
- <TABLE/>
- <TABVIEW/>
- <TREEVIEW/>
- <WEBVIEW/>
Important Concepts