Basic mechanism to support different tile providers.
This commit is contained in:
1 parent
1fb7f47c05
commit
f10fa11348
6 files changed
+85
-7
No files matched your search
@@ -21,7 +21,7 @@ const GetLocation: Component = () => {
|
||||
console.log({ caller: 'GetLocation/onClickHandler', position });
|
||||
const state = getState();
|
||||
navigate(
|
||||
`/map/${position.coords.longitude}/${position.coords.latitude}/${state.zoom}/${state.rotation}`
|
||||
`/map/${state.provider}/${position.coords.longitude}/${position.coords.latitude}/${state.zoom}/${state.rotation}`
|
||||
);
|
||||
setCurrentLocation({
|
||||
lon: position.coords.longitude,
|
||||
|
||||
Reference in new issue
Block a user