|
@@ -26,7 +26,7 @@ import axios from 'axios';
|
|
|
proj4.defs('EPSG:4490', '+proj=longlat +ellps=GRS80 +no_defs +type=crs');
|
|
|
proj4.defs('EPSG:4525', '+proj=tmerc +lat_0=0 +lon_0=111 +k=1 +x_0=37500000 +y_0=0 +ellps=GRS80 +units=m +no_defs +type=crs');
|
|
|
register(proj4);
|
|
|
-const commonUrl = '/api/oneShare/proxyHandler/gd/';
|
|
|
+const commonUrl = import.meta.env.VITE_APP_BASE_API2 + 'api/oneShare/proxyHandler/gd/';
|
|
|
const projection = new Projection({
|
|
|
code: 'EPSG:4490',
|
|
|
units: 'degrees'
|