forked from MapComplete/MapComplete
Fix composibility of badges; update of charging station theme
This commit is contained in:
parent
1fe902a5d0
commit
e98f96041a
9 changed files with 126 additions and 177 deletions
|
@ -110,11 +110,8 @@ export class GeoLocationHandler extends UIElement {
|
|||
return "";
|
||||
}
|
||||
if (State.state.currentGPSLocation.data !== undefined) {
|
||||
State.state.bm.map.flyTo(
|
||||
State.state.currentGPSLocation.data.latlng, 16,
|
||||
{
|
||||
duration: 0.25,
|
||||
}
|
||||
State.state.bm.map.setView(
|
||||
State.state.currentGPSLocation.data.latlng, 16
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue