Template:LatLonZoom2JOSMbbox
Jump to navigation
Jump to search
This documentation is transcluded from Template:LatLonZoom2JOSMbbox/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
This template transform slippymap parametters (lat, lon, zoom, width, height) into JOSM bbox parameters (left, bottom, right, top). It gives a string ready to use with the Template:JOSM Control.
It can be used in a template in adjunction with the slippymap extension.
Examples
- {{LatLonZoom2JOSMbbox|lat = 47.25154 |lon = 5.994325 |zoom = 17 |width = 200 |height = 200 }} gives:
left=5.993252&right=5.995398&bottom=47.250467&top=47.252613