From 9d6bdea71fe85d82c016af27617c817465339084 Mon Sep 17 00:00:00 2001 From: jack Date: Fri, 13 Jul 2018 23:27:40 +0800 Subject: [PATCH] update map --- htdocs/static-sanjy-np/js/map-index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 } }),