Skip to content

Commit a02bca2

Browse files
author
Per Liedman
committed
Use latest Leaflet; use Nominatim since Mapzen is gone
1 parent 1942b92 commit a02bca2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

demo/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
<meta name='viewport' content='width=device-width, user-scalable=no initial-scale=1, maximum-scale=1'>
77

8-
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" />
8+
<link rel="stylesheet" href="https://unpkg.com/leaflet@latest/dist/leaflet.css" />
99
<link rel="stylesheet" href="../dist/Control.Geocoder.css" />
1010

11-
<script src="https://unpkg.com/leaflet@1.2.0/dist/leaflet-src.js"></script>
11+
<script src="https://unpkg.com/leaflet@latest/dist/leaflet-src.js"></script>
1212
<script src="../dist/Control.Geocoder.js"></script>
1313
<style type="text/css">
1414
body {
@@ -26,7 +26,7 @@
2626

2727
<script type="text/javascript">
2828
var map = L.map('map').setView([0, 0], 2),
29-
geocoder = L.Control.Geocoder.mapzen('search-DopSHJw'),
29+
geocoder = L.Control.Geocoder.nominatim(),
3030
control = L.Control.geocoder({
3131
geocoder: geocoder
3232
}).addTo(map),

0 commit comments

Comments
 (0)