Changes between Version 209 and Version 210 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2023-02-08T12:15:45+01:00 (2 years ago)
Author:
mikeho
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v209 v210  
    631631=== Zoom selector ===
    632632You can decorate a type selector with a '''zoom selector'''. The zoom selector restricts the range of zoom levels at which the respective MapCSS rule is applied.
    633 
    634 {{{#!th align=center valign=top
    635 '''Example'''
    636 }}}
    637 {{{#!th align=center valign=top
    638 '''Description'''
    639 }}}
    640 |-------------------------------------------------------------------------------
    641 || `way|z12 {...} ` || At zoom level 12 ||
    642 || `way|z13-15 {...} ` || From 13 to 15 ||
    643 || `way|z16- {...} ` || 16 and above ||
    644 || `way|z-12 {...} ` || 12 and below ||
    645 || `way {...} ` || any zoom level ||
     633||= '''Example 1''' =||= '''Example 2''' =||= '''Example 3''' =||= '''Description''' =||
     634|| `way|z12 {...}` || `node|z12 {...}` || `node|z12[...] {...}` || At zoom level 12 ||
     635|| `way|z13-15 {...}` || `node|z13-15 {...}` || `way|z13-15[...] {...}` ||From 13 to 15 ||
     636|| `way|z16- {...}` || `way|z16- {...}` || `node|z16-[...] {...}` || 16 and above ||
     637|| `way|z-12 {...}` || `way|z-12 {...}` || `node|z-12[...] {...}` || 12 and below ||
     638|| `way {...}` || `way {...}` || `way[...] {...}` || any zoom level ||
    646639
    647640The precise definition of scale ranges for each zoom level may change in the future. By rule of thumb you can expect to be approximately at zoom level ''n'' when imagery displays slippymap tiles of level ''n''.