Skip to content

Commit

Permalink
fix: use initbg, otherwise vectortilesurl is set after setting bg confs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlitaBernachot committed Jun 3, 2024
1 parent 85a28a1 commit 64e583b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -767,13 +767,16 @@ const MainController = function(
this.mapStore_ = useMapStore()
this.styleStore_ = useStyleStore()
this.styleService_ = useMvtStyles()

this.styleService_.setRegisterUrl_v3({
get: getvtstyleUrl,
upload: uploadvtstyleUrl,
delete: deletevtstyleUrl,
vectortiles: vectortilesUrl
})

this.styleService_.initBackgroundsConfigs()

/**
* @type {app.draw.DrawnFeatures}
* @private
Expand Down
2 changes: 1 addition & 1 deletion geoportal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/Geoportail-Luxembourg/geoportailv3/issues"
},
"devDependencies": {
"luxembourg-geoportail": "https://github.com/Geoportail-Luxembourg/luxembourg-geoportail.git#cb91777d4dbd51bbe82d5d271e29a4583c1e7c35",
"luxembourg-geoportail": "https://github.com/Geoportail-Luxembourg/luxembourg-geoportail.git#ed3d13c8637ac3abc611864033d0c6a3b4586b12",
"@babel/core": "7.16.0",
"@babel/plugin-proposal-class-properties": "7.16.0",
"@babel/plugin-proposal-decorators": "7.16.0",
Expand Down

0 comments on commit 64e583b

Please sign in to comment.