Administrator пре 2 година
родитељ
комит
24aa25f1e2

+ 4 - 3
src/main/resources/application-dev.yml

@@ -12,7 +12,8 @@ spring:
     database-platform: org.hibernate.spatial.dialect.postgis.PostgisDialect
   datasource:
     driver-class-name: org.postgis.DriverWrapper
-    url: jdbc:postgresql_postGIS://101.35.200.5:39543/sysu-emap
+#    url: jdbc:postgresql_postGIS://101.35.200.5:39543/sysu-emap
+    url: jdbc:postgresql_postGIS://127.0.0.1:5432/sysu-emap
     username: postgres
     password: postgres
     pool-name: HikariPool-1
@@ -29,7 +30,7 @@ postgis:
 geoserver:
   user: admin
   password: geoserver
-  url: http://change.zylfsm.com
-  port:
+  url: http://localhost
+  port: 8080
   path: geoserver
 

+ 1 - 1
src/main/webapp/WEB-INF/jsp/comm/admin2.jsp

@@ -69,7 +69,7 @@
                 var target = "map"
 
                 view1 = new ol.View({
-                    center: [113.26962951874916,23.126323245095218],
+                    center: [113.303138,23.101339],
                     projection: projection,
                     zoom: 15
                 })

+ 1 - 1
src/main/webapp/static/package/cityland.js

@@ -286,7 +286,7 @@ function CityLand(opt){
 
 CityLand.prototype = {
     getTileLayer(){
-        this.getWMS()
+        this.getWMTS()
     },getWMS(){
         this.layerData.source = new ol.source.ImageWMS({
             ratio: 1,