Widget:OpenStreetMap: Unterschied zwischen den Versionen
Aus Stratum 0
(für OpenStreetMap-Karten) |
K (noinclude-fail) |
||
Zeile 13: | Zeile 13: | ||
== Sample result == | == Sample result == | ||
{{#widget:OpenStreetMap|lat=52.2785658|lon=10.5211247|zoom=16}} | {{#widget:OpenStreetMap|lat=52.2785658|lon=10.5211247|zoom=16}} | ||
− | <includeonly><div id="mapdiv"></div> | + | </noinclude><includeonly><div id="mapdiv"></div> |
<script src="http://www.openlayers.org/api/OpenLayers.js"></script> | <script src="http://www.openlayers.org/api/OpenLayers.js"></script> | ||
<script> | <script> |
Version vom 7. Februar 2012, 04:42 Uhr
This widget allows you to add an OpenStreetMap widget to your wiki page.
Using this widget
To insert this widget, use the following code:
{{#widget:OpenStreetMap|lat=<latitude>|lon=<longitude>|zoom=<zoom>}}
Parameters
- lat, lon - latitude and longitude
- zoom - zoom, ranging from 1 (overview) to 18 (detailed)