Skip to content

Commit

Permalink
Update javascript initialization in home.html
Browse files Browse the repository at this point in the history
  • Loading branch information
petrsloup authored Sep 27, 2016
1 parent 260f234 commit cb3c6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'https://klokantech.tilehosting.com/styles/basic.json?key=tX0QWNRowlarrQpqxngS',
'https://klokantech.tilehosting.com/styles/basic/rendered.json?key=tX0QWNRowlarrQpqxngS',
'map-ol', 'map-gl').getMap();
var autocomplete = new kt.OsmNamesAutocomplete('search', 'dgb7TgC5zR0YpsAqbEgb', true, '/');
var autocomplete = new kt.OsmNamesAutocomplete('search', '/', undefined, true);

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

0 comments on commit cb3c6d3

Please sign in to comment.