diff --git a/src/views/feature/Feature_edit.vue b/src/views/feature/Feature_edit.vue index 554ab8f910083a150ac0f5f9d53ad9d27ed3ddcb..fd9972f9e1b65910f27ec7944f6862bf4ed4f963 100644 --- a/src/views/feature/Feature_edit.vue +++ b/src/views/feature/Feature_edit.vue @@ -929,7 +929,7 @@ export default { setTimeout( function () { let project_id = this.$route.params.slug.split("-")[0]; - const mvtUrl = `${this.$store.state.configuration.VUE_APP_DJANGO_API_BASE}/features.mvt/?tile={z}/{x}/{y}&project_id=${project_id}`; + const mvtUrl = `${this.$store.state.configuration.VUE_APP_DJANGO_API_BASE}features.mvt/?tile={z}/{x}/{y}&project_id=${project_id}`; mapUtil.addVectorTileLayer( mvtUrl, diff --git a/src/views/feature/Feature_list.vue b/src/views/feature/Feature_list.vue index 394a83045d9553f390ddcb7d5e48712cdc08a073..6f5685f5dc42b43e169e726a2e2a545a35be2244 100644 --- a/src/views/feature/Feature_list.vue +++ b/src/views/feature/Feature_list.vue @@ -395,7 +395,7 @@ export default { setTimeout( function () { let project_id=this.$route.params.slug.split('-')[0]; - const mvtUrl = `${this.$store.state.configuration.VUE_APP_DJANGO_API_BASE}/features.mvt/?tile={z}/{x}/{y}&project_id=${project_id}`; + const mvtUrl = `${this.$store.state.configuration.VUE_APP_DJANGO_API_BASE}features.mvt/?tile={z}/{x}/{y}&project_id=${project_id}`; mapUtil.addVectorTileLayer(mvtUrl,this.$route.params.slug,this.$store.state.feature_type.feature_types,this.form); mapUtil.addGeocoders(this.$store.state.configuration); }.bind(this), diff --git a/src/views/project/Project_detail.vue b/src/views/project/Project_detail.vue index 84888b12a4054e5fe90f51046cb8e55d1516b00c..7aece1948b948eb5fe53410ae3d20aab1ad8b4b6 100644 --- a/src/views/project/Project_detail.vue +++ b/src/views/project/Project_detail.vue @@ -649,7 +649,7 @@ export default { let self = this; this.checkForOfflineFeature(); let project_id=this.$route.params.slug.split('-')[0]; - const mvtUrl = `${this.$store.state.configuration.VUE_APP_DJANGO_API_BASE}/features.mvt/?tile={z}/{x}/{y}&project_id=${project_id}`; + const mvtUrl = `${this.$store.state.configuration.VUE_APP_DJANGO_API_BASE}features.mvt/?tile={z}/{x}/{y}&project_id=${project_id}`; mapUtil.addVectorTileLayer(mvtUrl,this.$route.params.slug,this.$store.state.feature_type.feature_types); axios .get(url)