Frequently Asked Questions (FAQ)⚓︎
Which syntax is allowed in description fields?⚓︎
*single star for italic*
→ single star for italic**double star for bold**
→ double star for bold# one hash for main heading
⤵one hash for main heading
## two hashes for second heading
⤵two hashes for second heading
### three hashes for third heading
⤵three hashes for third heading
Simple link: [[http://example.com]]
→ Simple link: http://example.comLink with text: [[http://example.com|text of the link]]
→ Link with text: text of the link--- for a horizontal rule
⤵
What are the available keyboard shortcuts?⚓︎
With macOS, replace Ctrl
by Cmd
.
Globals⚓︎
Ctrl+F
→ open search panelCtrl+E
→ switch to edit modeEscape
→ close open panel or dialogShift+drag
on the map → zoom to this map extentShift+click
on the zoom buttons → zoom in/out by 3 levels
In edit mode⚓︎
Ctrl+E
→ back to preview modeCtrl+S
→ save mapCtrl+Z
→ undo all changes until last saveCtrl+M
→ add a new markerCtrl+P
→ start a new polygonCtrl+L
→ start a new lineCtrl+I
→ open importer panelCtrl+O
→ open importer panel and file browserCtrl++
→ zoom inCtrl+-
→ zoom outShift+click
on a feature → edit this featureCtrl+Shift+click
on a feature → edit this feature layer
Which syntax is allowed in conditional rules?⚓︎
mycolumn=odd
→ will match features whose columnmycolumn
equalodd
mycolumn!=odd
→ will match features whose columnmycolumn
is missing or different fromodd
mycolumn>12
→ will match features whose columnmycolumn
is greater than12
(as number)mycolumn<12.34
→ will match features whose columnmycolumn
is lower than12.34
(as number)mycolumn=
→ will match features whose columnmycolumn
has no or null valuemycolumn!=
→ will match features whose columnmycolumn
has any definedmycolumn=true/false
→ will match features whose columnmycolumn
is explicitelytrue
(orfalse
)mycolumn!=true/false
→ will match features whose columnmycolumn
is different fromtrue
(orfalse
)
When the condition match, the associated style will be applied to the corresponding feature.
How to use variables ?⚓︎
In general, using a variable is as simple as {myvar}
.
It's possible to define another variable as fallback of the first one like this: {myvar|fallbackvar}
.
To fallback to a string, add it between double quotes: {myvar|"fallback"}
.
It's possible to combine more variables: {myvar|othervar|"some string"}
.
It's possible to use a variable inside an URL, for example: [[https://domain.org/?locale={locale}|Wikipedia]]
.
Or even as source for an image: {{{myvar}}}
(note the triple {}
).
Available variables for features:⚓︎
Those variables can be used in a feature description, or in popup content templates.
Any property of the feature will be available, plus:
{lat}/{lng}
→ the feature position (or centroid in case of line or polygon){alt}
→ the altitude of a marker, if defined in the data{locale}
→ the locale in the formen
oren_US
when a variant is used{lang}
→ the lang in the formen
oren-us
when a variant is used{measure}
→ the length of a line or the area of a polygon{rank}
→ the rank of the feature in the layer{layer}
→ the name of the feature's layer{zoom}
→ the current map zoom
Available variables in URL for remote data:⚓︎
{bbox}
→ the current bbox of the map in the formsouthwest_lng,southwest_lat,northeast_lng,northeast_lat
{north}/{top}
→ the North latitude of the current map view{south}/{bottom}
→ the South latitude of the current map view{east}/{right}
→ the East longitude of the current map view{west}/{left}
→ the West longitude of the current map view{zoom}
→ the current map zoom{lat}
→ the latitude of the current map center{lng}
→ the longitude of the current map center