File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 6060 < div id ="map "> </ div >
6161
6262 < script src ="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.3/leaflet.js "> </ script >
63- < script src ="https://mapzen.com /tangram/tangram.min.js "> </ script >
63+ < script src ="https://www.nextzen.org /tangram/0.18.2 /tangram.min.js "> </ script >
6464 < script src ="https://cdnjs.cloudflare.com/ajax/libs/leaflet-hash/0.2.1/leaflet-hash.min.js "> </ script >
6565 < script src ="https://cdnjs.cloudflare.com/ajax/libs/leaflet-geocoder-mapzen/1.9.4/leaflet-geocoder-mapzen.min.js "> </ script >
6666 < script type ="text/javascript ">
8282 var hash = new L . Hash ( map ) ;
8383
8484 // Add geocoder
85- var geocoder = L . control . geocoder ( 'search-MKZrG6M' , {
85+ var geocoder = L . control . geocoder ( 'ge-rbojd2r4iqo5mz67' , {
86+ url : 'https://api.geocode.earth/v1' ,
8687 fullWidth : 650 ,
8788 expanded : true
8889 } ) . addTo ( map ) ;
9798 // Add Tangram scene layer
9899 var layer = Tangram . leafletLayer ( {
99100 scene : {
100- import : 'https://mapzen.com /carto/bubble-wrap- style/bubble-wrap.yaml ' ,
101- global : { sdk_mapzen_api_key : 'search-MKZrG6M ' }
101+ import : 'https://www.nextzen.org /carto/refill- style/11/refill-style.zip ' ,
102+ global : { sdk_api_key : 'JdkWeuDGTEOTlMZxuWl0nQ ' }
102103 } ,
103104 attribution : 'Rendering by <a href="https://mapzen.com/products/tangram/">Tangram</a> | © OSM contributors'
104105 } ) . addTo ( map ) ;
You can’t perform that action at this time.
0 commit comments