User:ZeLonewolf/TaginfoTest

From OpenStreetMap Wiki
Jump to navigation Jump to search
What it looks like when installed.

Installation Instructions

Copy the contents of the following file into your user directory common.js:

The AJAX taginfo boxes below will not appear until this is done.

Live Side-by-Side Examples

These examples show the AJAX and standard Taginfo boxes side-by-side. The AJAX boxes will only load after the user script is installed as described above.

water=reservoir
water=foo_bar
boundary=special_economic_zone
18em Forced Width
boundary=*
building=yes
relationtype=multipolygon
relationtype=multipolygon (UK Server)
relationtype=multipolygon (Intentional Error)
relationtype=route_master
building=yes
Option footer=no
building=yes (UK Server)
Option footer=no
building=*
building=* (UK Server)
Option footer=no
building=yes
Options footer=no, percentage=no, width=7.5em
building=yes
Options footer=no, tagLink=no, percentage=no, width=7.5em
building=yes
Options footer=no, percentage=no, width=7.5em
building=yes
Options footer=no, tagLink=no, percentage=no, countNodes=no, countWays=no, countRelations=no, width=7.5em
building=yes
Options footer=no, tagLink=no, percentage=no, countAll=no, width=7.5em

Scripts

Noscript

Once installed in the global noscript CSS, this block of code will cause the taginfo block to fall back to the old-style widget.

.noscript-display-block {
    display:block;
}

i18n Strings