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.
Chargement de la carte...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"400px","height":"400px","centre":false,"title":"","label":"","icon":"","lines":[{"text":"","title":"","link":"","strokeColor":"#FF0000","strokeOpacity":"1","strokeWeight":"2","pos":[{"lat":50.5429865,"lon":7.0949426},{"lat":50.5432008,"lon":7.0954376},{"lat":50.5434011,"lon":7.0959061},{"lat":50.543499,"lon":7.0963088},{"lat":50.5435581,"lon":7.0967051},{"lat":50.5436531,"lon":7.0971812},{"lat":50.5438098,"lon":7.0976825},{"lat":50.5438945,"lon":7.0978234},{"lat":50.5440987,"lon":7.0979196}]}],"polygons":[],"circles":[],"rectangles":[],"copycoords":true,"static":false,"zoom":17,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[],"imageoverlays":null}