From 46ac770d1fba61c4f7a293386465abb25b3be2b7 Mon Sep 17 00:00:00 2001 From: xieshen <1397910458@qq.com> Date: Sat, 31 Oct 2020 01:09:41 +0800 Subject: [PATCH] #add message --- monitor/static/monitor/js/index-map.js | 14 +++++++------- requirements.txt | 25 +++++++++++++------------ 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/monitor/static/monitor/js/index-map.js b/monitor/static/monitor/js/index-map.js index cbd0573..e526b48 100644 --- a/monitor/static/monitor/js/index-map.js +++ b/monitor/static/monitor/js/index-map.js @@ -11,7 +11,7 @@ $(function () { transparent: true, format: 'image/png' }); - // map.addLayer(countyLayer); + map.addLayer(countyLayer); var gansuLayer = L.nonTiledLayer.wms('http://210.77.68.250:8080/geoserver/newmedia/wms', { layers: 'newmedia:gansu', @@ -19,12 +19,12 @@ $(function () { format: 'image/png' }); map.addLayer(gansuLayer); - // var citypointLayer = L.nonTiledLayer.wms('http://210.77.68.250:8080/geoserver/newmedia/wms', { - // layers: 'newmedia:citypoint', - // transparent: true, - // format: 'image/png' - // }); - // map.addLayer(citypointLayer); + var citypointLayer = L.nonTiledLayer.wms('http://210.77.68.250:8080/geoserver/newmedia/wms', { + layers: 'newmedia:citypoint', + transparent: true, + format: 'image/png' + }); + map.addLayer(citypointLayer); // var mypop = L.popup(); diff --git a/requirements.txt b/requirements.txt index ab69382..0c7ab04 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,13 @@ -# Django~=2.2.15 -# django-bootstrap3 -# django-simple-captcha -# psycopg2-binary -# django-cors-headers -# aliyun-python-sdk-core-v3 -# channels -# requests -# parsel -# django-summernote -# python-dateutil -# channels_redis[cryptography] +#Django~=2.2.15 +#django-bootstrap3 +#django-simple-captcha +#psycopg2-binary +#django-cors-headers +#aliyun-python-sdk-core-v3 +#channels +#requests +#parsel +#django-summernote +#python-dateutil +#channels_redis[cryptography] +#jieba