mirror of
https://github.com/bellingcat/osm-search.git
synced 2026-06-13 05:58:32 +03:00
Sync zoom changes from map with store
This commit is contained in:
@@ -87,6 +87,12 @@ export default new Vuex.Store({
|
||||
state.mapCenter = center;
|
||||
state.mapZoom = zoom;
|
||||
},
|
||||
setZoom(state, zoom) {
|
||||
state.mapZoom = zoom;
|
||||
},
|
||||
setCenter(state, center) {
|
||||
state.mapCenter = center;
|
||||
},
|
||||
setResponseTime(state, t) {
|
||||
state.responseTime = t;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user