Template:JOSM Imagery Link

From OpenStreetMap Wiki
Jump to navigation Jump to search
[Edit] [Purge] Template-info.svg Template documentation

This template creates a link that loads a specified TMS or WMS imagery layer into JOSM, using the RemoteControl feature.

Parameters

  • title: The display name of the layer
  • type: Type of the layer. Possible values are tms or wms.
  • url: The URL of the layer, including patterns such as {x}, {y}, {zoom}, and even {switch:a,b,c}.
  • text: The visible text in the link.

Example

{{JOSM Imagery Link
|title=Official OSM tiles
|type=tms
|url=http://tile.openstreetmap.org/{zoom}/{x}/{y}.png
|text=Add OSM layer to JOSM
}}

will display like this: Add OSM layer to JOSM