Skip to content

geomapping URL hardcoded on Vue js source code

diff after changing the URL g3053r83r.cortext.net on the source code locally

diff --git a/webapp/src/components/Map.vue b/webapp/src/components/Map.vue
index 8c8e8fc..28185b1 100644
--- a/webapp/src/components/Map.vue
+++ b/webapp/src/components/Map.vue
@@ -129,7 +129,7 @@ function initMap() {
   //  this.tileLayer = L.tileLayer('https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png');
   //  this.tileLayer = L.tileLayer('https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png');
   //  this.tileLayer = L.tileLayer('http://vre.hcmut.edu.vn/styles/klokantech-basic/{z}/{x}/{y}.png');
-  this.tileLayer = L.tileLayer('https://g3053r83r.cortext.net/styles/custom/{z}/{x}/{y}.png', { noWrap: true });
+  this.tileLayer = L.tileLayer('https://g3053r83r.cortext.local/styles/custom/{z}/{x}/{y}.png', { noWrap: true });
   this.tileLayer.addTo(this.map);
   this.map.attributionControl.addAttribution('&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors | &copy; <a href="https://carto.com/attribution">CARTO</a> | <a href="https://www.cortext.net/">CorText</a>');
   this.selectedLevel = this.$route.params.level;
Edited by Joenio Marques da Costa