Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
蔡永松
/
fontweb-dc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
051e9624
authored
2020-08-13 17:16:34 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改底图
1 parent
dfbc4aa1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
src/main/webapp/view/monitorevaluate/monitor/zbjc/js/widget.js
src/main/webapp/view/monitorevaluate/monitor/zbjc/js/widget.js
View file @
051e962
...
...
@@ -41,10 +41,9 @@ require([
"esri/symbols/SimpleMarkerSymbol"
,
"esri/symbols/PictureMarkerSymbol"
,
"dojo/domReady!"
,
],
function
(
declare
,
BaseWidget
,
html
,
url
,
on
,
query
,
topic
,
lang
,
array
,
Deferred
,
cache
,
DrawTool
,
EventUtils
,
Map
,
Basemap
,
MapView
,
FeatureLayer
,
TileLayer
,
Point
,
Graphic
,
Circle
,
GraphicsLayer
,
MapImageLayer
,
ScaleBar
,
Extent
,
Query
,
PrintTask
,
PrintTemplate
,
PrintParameters
,
LegendLayer
,
SimpleLineSymbol
,
SimpleFillSymbol
,
SimpleMarkerSymbol
,
PictureMarkerSymbol
,
)
{
Query
,
PrintTask
,
PrintTemplate
,
PrintParameters
,
LegendLayer
,
SimpleLineSymbol
,
SimpleFillSymbol
,
SimpleMarkerSymbol
,
PictureMarkerSymbol
)
{
print
=
cache
(
new
url
(
"print/Widget.html"
),
{
sanitize
:
true
});
const
_self
=
new
Vue
({
el
:
'#mapDiv'
,
...
...
@@ -2006,7 +2005,7 @@ require([
let
switchButton
=
document
.
getElementById
(
"switch_btn"
);
// 切换地图按钮
let
regionSwitch
=
document
.
getElementById
(
"region_select"
);
// 下拉切换区县区域
let
resetMap
=
document
.
getElementById
(
"resetMap"
);
// 重置地图
let
layer_imageMap
=
new
TileLayer
({
url
:
'http://10.6.144.134:6080/arcgis/rest/services/影像底图2000/2018GF影像/MapServer'
// 影像地图
});
...
...
@@ -2032,12 +2031,12 @@ require([
// 创建地图实例
let
ext
=
new
Extent
({
xmin
:
1.1332182150213555E7
,
ymin
:
4379415.470661429
,
xmax
:
1.1339935515720293E7
,
ymax
:
4383168.328167147
,
spatialReference
:
3857
})
xmin
:
1.1332182150213555E7
,
ymin
:
4379415.470661429
,
xmax
:
1.1339935515720293E7
,
ymax
:
4383168.328167147
,
spatialReference
:
3857
})
;
_self
.
myMap
=
new
Map
()
// _self.myMap = new Map({
...
...
@@ -2061,7 +2060,7 @@ require([
//url: 'http://10.6.144.88:6080/arcgis/rest/services/实施监督系统/地图灰化2/MapServer' // 电子地图
url
:
'https://192.168.5.164:6443/arcgis/rest/services/xzsj/ygyx/MapServer'
,
// 电子地图
sublayers
:
[
{
{
id
:
0
,
visible
:
true
}
...
...
Please
register
or
sign in
to post a comment