diff --git a/htdocs/static-sanjy-np/js/map-index.js b/htdocs/static-sanjy-np/js/map-index.js index f2355105..bbd18a5b 100644 --- a/htdocs/static-sanjy-np/js/map-index.js +++ b/htdocs/static-sanjy-np/js/map-index.js @@ -1,6 +1,6 @@ var center = [10638261.95370317, 4067978.645337081]; var WESTDC_TILE_SERVER = 'http://210.77.68.221:27011'; -var WESTDC_MAP_SERVER = "http://210.77.79.190:20015"; +var WESTDC_MAP_SERVER = "http://210.77.79.190:8888"; var view = new ol.View({ projection: 'EPSG:3857', @@ -49,12 +49,12 @@ var layers = { title: "黄河园区", layer: new ol.layer.Tile({ source: new ol.source.TileWMS({ - url: WESTDC_MAP_SERVER + '/geoserver/sj/wms', + url: WESTDC_MAP_SERVER + '/geoserver/sjynp/wms', params: {'FORMAT': 'image/png', 'VERSION': '1.1.1', tiled: true, STYLES: '', - LAYERS: 'sj:there_area_yellow_river', + LAYERS: 'sjynp:yellow_river_park', tilesOrigin: 9951420.669071037 + "," + 3974091.390929395 } }), @@ -68,12 +68,12 @@ var layers = { title: "澜沧江园区", layer: new ol.layer.Tile({ source: new ol.source.TileWMS({ - url: WESTDC_MAP_SERVER + '/geoserver/sj/wms', + url: WESTDC_MAP_SERVER + '/geoserver/sjynp/wms', params: {'FORMAT': 'image/png', 'VERSION': '1.1.1', tiled: true, STYLES: '', - LAYERS: 'sj:area_lancangjiang', + LAYERS: 'sjynp:lancang_river_park', tilesOrigin: 9951420.669071037 + "," + 3974091.390929395 } }), @@ -87,12 +87,12 @@ var layers = { title: "长江园区", layer: new ol.layer.Tile({ source: new ol.source.TileWMS({ - url: WESTDC_MAP_SERVER + '/geoserver/sj/wms', + url: WESTDC_MAP_SERVER + '/geoserver/sjynp/wms', params: {'FORMAT': 'image/png', 'VERSION': '1.1.1', tiled: true, STYLES: '', - LAYERS: 'sj:area_changjiang', + LAYERS: 'sj:yangtze_river_park', tilesOrigin: 9951420.669071037 + "," + 3974091.390929395 } }),