Template:MapLink
Jump to navigation
Jump to search
This documentation is transcluded from Template:MapLink/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
{{MapLink|link=|text=}}
Allows links with the main map, as if it were an internal link in this Wiki, using the main URL of OSM. The link will be everything after www.openstreetmap.org/
For example, if you want to point at a specific location: https://www.openstreetmap.org/?mlat=10.1850&mlon=-68.0021#map=14/10.1850/-68.0021
, you should simply copy: ?mlat=10.1850&mlon=-68.0021#map=14/10.1850/-68.0021
, using this template as follows:
{{MapLink|link=?mlat=10.1850&mlon=-68.0021#map=14/10.1850/-68.0021|text=SAMPLE LOCATION}}
As a result you will get:
See also
- Template:BrowseMap which is not related to an object and doesn't show a marker
- Template:BrowseMapWithMarker which shows a marker, but isn't related to an object.
- Template:BrowseObject which shows an arbitrary object.
- Template:BrowseObjectWithPosition shows an arbitrary object at the specified position.