remove test for if we're allowed to geolocate so that it asks on mobile
This commit is contained in:
parent
57a6a3e8b1
commit
de2500f1a9
@ -227,9 +227,7 @@
|
||||
}
|
||||
})
|
||||
map.addControl(new mapboxgl.NavigationControl(), 'top-left');
|
||||
if(navigator.geolocation) {
|
||||
map.addControl(geolocate, 'top-right');
|
||||
}
|
||||
map.addControl(geolocate, 'top-right');
|
||||
updateViewBySlug(window.location.hash.split("#")[1]);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user