Leaflet lines
De Semantic MediaWiki - Sandbox
This example shows how to display lines on a map, e.g. for mapping a street to a map. Coordinate data are taken from here at OpenStreetMap.
Syntax
{{#display_map: |lines=50.5429865,7.0949426 : 50.5432008,7.0954376 : 50.5434011,7.0959061 : 50.5434990,7.0963088 : 50.5435581,7.0967051 : 50.5436531,7.0971812 : 50.5438098,7.0976825 : 50.5438945,7.0978234 : 50.5440987,7.0979196 |service=leaflet |controls=panzoom,mouseposition |zoom=17 |height=400 |width=400 |copycoords=yes }}
Result









Leaflet | © OpenStreetMap contributors