修改底图
Showing
1 changed file
with
2 additions
and
3 deletions
... | @@ -41,10 +41,9 @@ require([ | ... | @@ -41,10 +41,9 @@ require([ |
41 | "esri/symbols/SimpleMarkerSymbol", | 41 | "esri/symbols/SimpleMarkerSymbol", |
42 | "esri/symbols/PictureMarkerSymbol", | 42 | "esri/symbols/PictureMarkerSymbol", |
43 | "dojo/domReady!", | 43 | "dojo/domReady!", |
44 | |||
45 | ], function (declare, BaseWidget, html, url, on, query, topic, lang, array, Deferred, | 44 | ], function (declare, BaseWidget, html, url, on, query, topic, lang, array, Deferred, |
46 | cache, DrawTool, EventUtils, Map, Basemap, MapView, FeatureLayer, TileLayer, Point, Graphic, Circle, GraphicsLayer, MapImageLayer, ScaleBar, Extent, | 45 | cache, DrawTool, EventUtils, Map, Basemap, MapView, FeatureLayer, TileLayer, Point, Graphic, Circle, GraphicsLayer, MapImageLayer, ScaleBar, Extent, |
47 | Query, PrintTask, PrintTemplate, PrintParameters, LegendLayer, SimpleLineSymbol, SimpleFillSymbol, SimpleMarkerSymbol, PictureMarkerSymbol,) { | 46 | Query, PrintTask, PrintTemplate, PrintParameters, LegendLayer, SimpleLineSymbol, SimpleFillSymbol, SimpleMarkerSymbol, PictureMarkerSymbol) { |
48 | print = cache(new url("print/Widget.html"), {sanitize: true}); | 47 | print = cache(new url("print/Widget.html"), {sanitize: true}); |
49 | const _self = new Vue({ | 48 | const _self = new Vue({ |
50 | el: '#mapDiv', | 49 | el: '#mapDiv', |
... | @@ -2037,7 +2036,7 @@ require([ | ... | @@ -2037,7 +2036,7 @@ require([ |
2037 | xmax:1.1339935515720293E7, | 2036 | xmax:1.1339935515720293E7, |
2038 | ymax:4383168.328167147, | 2037 | ymax:4383168.328167147, |
2039 | spatialReference: 3857 | 2038 | spatialReference: 3857 |
2040 | }) | 2039 | }) |
2041 | ; | 2040 | ; |
2042 | _self.myMap = new Map() | 2041 | _self.myMap = new Map() |
2043 | // _self.myMap = new Map({ | 2042 | // _self.myMap = new Map({ | ... | ... |
-
Please register or sign in to post a comment