Geojson multiline
1 layer
by FranceImage
HTML
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css">
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet-src.js"></script>
<div id="map" ></div>
CSS
#map {
height: 400px;
}
JavaScript
var france_belgium = {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"color": "#ff7800"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
2.548828125,
51.04139389812637
],
[
1.669921875,
50.80593472676908
],
[
1.58203125,
50.14874640066278
],
[
0.0439453125,
49.52520834197442
],
[
0.087890625,
49.31079887964633
],
[
-1.16455078125,
49.33944093715546
],
[
-1.34033203125,
49.681846899401286
],
[
-1.9335937499999998,
49.696061819115634
],
[
-1.51611328125,
48.69096039092549
],
[
-2.5927734375,
48.516604348867475
],
[
-2.98828125,
48.879167148960214
],
[
-4.81201171875,
48.56024979174331
],
[
-4.32861328125,
47.79839667295524
],
[
-2.3291015625,
47.18971246448421
],
[
-1.23046875,
46.042735653846506
],
[
-1.142578125,
44.715513732021336
],
[
-1.4501953125,
43.628123412124616
],
[
-1.69189453125,
43.24520272203356
],
[
-0.19775390625,
42.73087427928485
],
[
1.03271484375,
42.69858589169842
],
[
2.48291015625,
42.32606244456202
],
[
...