Skip to content
Snippets Groups Projects
Commit 3c0ea30f authored by Timothee P's avatar Timothee P :sunflower:
Browse files

fix layersToLoad for basemaps, replacing project getter

parent fa5f9d77
No related branches found
No related tags found
2 merge requests!295Version 3.0.0,!282REDMINE_ISSUE-12779
......@@ -104,8 +104,8 @@ const map = {
});
},
INITIATE_MAP({ state, rootGetters, commit }, el) {
const project = rootGetters['projects/project'];
INITIATE_MAP({ state, rootState, commit }, el) {
const project = rootState.projects.project;
let mapDefaultViewCenter = [46, 2]; // defaultMapView.center;
let mapDefaultViewZoom = 5; // defaultMapView.zoom;
mapUtil.createMap(el, {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment