Skip to content

Commit 6510cd0

Browse files
committed
Add key to the javascript
1 parent ef09870 commit 6510cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: web/templates/home.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
'https://klokantech.tilehosting.com/styles/basic.json?key=tX0QWNRowlarrQpqxngS',
2828
'https://klokantech.tilehosting.com/styles/basic/rendered.json?key=tX0QWNRowlarrQpqxngS',
2929
'map-ol', 'map-gl').getMap();
30-
var autocomplete = new kt.OsmNamesAutocomplete('search', true, '/');
30+
var autocomplete = new kt.OsmNamesAutocomplete('search', 'dgb7TgC5zR0YpsAqbEgb', true);
3131

3232
autocomplete.registerCallback(function(item) {
3333
var isDegenerate = (item.boundingbox[2] - item.boundingbox[0]) * (item.boundingbox[3] - item.boundingbox[1]) <= 0;

0 commit comments

Comments
 (0)