Skip to content

Commit 5d15f7f

Browse files
committed
Use Leaflet 1.0.0-beta.2
1 parent ff64f67 commit 5d15f7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<meta charset="utf-8" />
55
<title>Leaflet OSRM Example</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7-
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.5/leaflet.css" />
7+
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v1.0.0-beta.2/leaflet.css" />
88
<link rel="stylesheet" href="../css/leaflet-routing-machine.css" />
99
<link rel="stylesheet" href="index.css" />
1010
</head>
1111
<body>
1212
<div id="map" class="map"></div>
13-
<script src="http://cdn.leafletjs.com/leaflet-0.7.5/leaflet.js"></script>
13+
<script src="http://cdn.leafletjs.com/leaflet/v1.0.0-beta.2/leaflet.js"></script>
1414
<script src="../dist/leaflet-routing-machine.js"></script>
1515
<script src="Control.Geocoder.js"></script>
1616
<script src="index.js"></script>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
},
4646
"dependencies": {
4747
"corslite": "0.0.6",
48-
"leaflet": "^0.7.2",
48+
"leaflet": "^1.0.0-beta.2",
4949
"polyline": "0.0.3"
5050
}
5151
}

0 commit comments

Comments
 (0)