target zoom for goto user location
This commit is contained in:
parent
24e29eadf9
commit
3c8a9f9c3e
1 changed files with 1 additions and 1 deletions
|
@ -1448,7 +1448,7 @@ c3nav = {
|
||||||
}
|
}
|
||||||
if (c3nav._current_user_location) {
|
if (c3nav._current_user_location) {
|
||||||
c3nav._levelControl.setLevel(c3nav._current_user_location.level);
|
c3nav._levelControl.setLevel(c3nav._current_user_location.level);
|
||||||
c3nav.map.flyTo(L.GeoJSON.coordsToLatLng(c3nav._current_user_location.geometry.coordinates), 4, { duration: 1 });
|
c3nav.map.flyTo(L.GeoJSON.coordsToLatLng(c3nav._current_user_location.geometry.coordinates), 3, { duration: 1 });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue