gis-map-universal 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gismap.umd.js +19 -15
- package/package.json +1 -1
package/gismap.umd.js
CHANGED
|
@@ -457019,12 +457019,18 @@ var LatlonPick_component = normalizeComponent(
|
|
|
457019
457019
|
initBaseLayers() {
|
|
457020
457020
|
let that = this;
|
|
457021
457021
|
const superMapRestUrl =
|
|
457022
|
-
"
|
|
457023
|
-
const arcgisUrl =
|
|
457024
|
-
"http://124.128.27.156:18085/arcgis/rest/services/BaseService/darkColor/MapServer";
|
|
457022
|
+
"https://10.0.111.11:8090/iserver/services/map-WorkSpace/rest/maps/t2";
|
|
457025
457023
|
const wmsUrl =
|
|
457026
|
-
"
|
|
457024
|
+
"https://10.0.111.11:8090/iserver/services/map-JHArea/wms111/JHArea";
|
|
457025
|
+
const baseRoadUrl =
|
|
457026
|
+
"https://10.0.111.11:8090/iserver/services/map-baseRoad/wms130";
|
|
457027
|
+
const G35Url =
|
|
457028
|
+
"https://10.0.111.11:8090/iserver/services/map-G35/wms130";
|
|
457029
|
+
const styleURL =
|
|
457030
|
+
"https://10.0.111.11:8090/iserver/services/map-mvt-BaseMapG35/restjsr/v1/vectortile/maps/BaseMapG35/style.json";
|
|
457027
457031
|
// 加载ArcGIS服务
|
|
457032
|
+
const arcgisUrl =
|
|
457033
|
+
"http://124.128.27.156:18085/arcgis/rest/services/BaseService/darkColor/MapServer";
|
|
457028
457034
|
const arcgisLayer = new Tile["default"]({
|
|
457029
457035
|
source: new source_TileArcGISRest({
|
|
457030
457036
|
ratio: 1,
|
|
@@ -457062,7 +457068,7 @@ var LatlonPick_component = normalizeComponent(
|
|
|
457062
457068
|
let baseRoadlayer = new Tile["default"]({
|
|
457063
457069
|
layerName: "baseRoadlayer",
|
|
457064
457070
|
source: new source_TileWMS({
|
|
457065
|
-
url:
|
|
457071
|
+
url: baseRoadUrl,
|
|
457066
457072
|
params: {
|
|
457067
457073
|
LAYERS: "baseRoad",
|
|
457068
457074
|
FORMAT: "image/png",
|
|
@@ -457076,7 +457082,7 @@ var LatlonPick_component = normalizeComponent(
|
|
|
457076
457082
|
let G35layer = new Tile["default"]({
|
|
457077
457083
|
layerName: "G35layer",
|
|
457078
457084
|
source: new source_TileWMS({
|
|
457079
|
-
url:
|
|
457085
|
+
url: G35Url,
|
|
457080
457086
|
params: {
|
|
457081
457087
|
LAYERS: "G35",
|
|
457082
457088
|
FORMAT: "image/png",
|
|
@@ -457088,13 +457094,12 @@ var LatlonPick_component = normalizeComponent(
|
|
|
457088
457094
|
this.map.addLayer(G35layer);
|
|
457089
457095
|
|
|
457090
457096
|
// 加载超图矢量切片服务
|
|
457091
|
-
|
|
457092
|
-
|
|
457093
|
-
|
|
457094
|
-
var format = new MVT["default"]({
|
|
457097
|
+
let vectorLayer;
|
|
457098
|
+
|
|
457099
|
+
let format = new MVT["default"]({
|
|
457095
457100
|
featureClass: ol_Feature["a" /* default */],
|
|
457096
457101
|
});
|
|
457097
|
-
|
|
457102
|
+
let style = new MapboxStyles_MapboxStyles({
|
|
457098
457103
|
style: styleURL,
|
|
457099
457104
|
map: that.map,
|
|
457100
457105
|
});
|
|
@@ -457186,7 +457191,7 @@ var LatlonPick_component = normalizeComponent(
|
|
|
457186
457191
|
// });
|
|
457187
457192
|
this.map.getView().animate({
|
|
457188
457193
|
center: feature.getGeometry().getCoordinates(),
|
|
457189
|
-
zoom: this.map.getView().getZoom() + 2
|
|
457194
|
+
zoom: this.map.getView().getZoom() + 2,
|
|
457190
457195
|
});
|
|
457191
457196
|
}
|
|
457192
457197
|
} else {
|
|
@@ -457197,7 +457202,7 @@ var LatlonPick_component = normalizeComponent(
|
|
|
457197
457202
|
if (properties.isDrawn) return;
|
|
457198
457203
|
if (properties.popoup || properties.popoup == false) {
|
|
457199
457204
|
that.$emit("clickPointEvent", properties);
|
|
457200
|
-
return
|
|
457205
|
+
return;
|
|
457201
457206
|
}
|
|
457202
457207
|
const type = properties.type;
|
|
457203
457208
|
const data = properties;
|
|
@@ -457253,7 +457258,7 @@ var LatlonPick_component = normalizeComponent(
|
|
|
457253
457258
|
if (properties.isDrawn) return;
|
|
457254
457259
|
if (properties.popoup || properties.popoup == false) {
|
|
457255
457260
|
that.$emit("clickPointEvent", properties);
|
|
457256
|
-
return
|
|
457261
|
+
return;
|
|
457257
457262
|
}
|
|
457258
457263
|
const type = properties.type;
|
|
457259
457264
|
const data = properties;
|
|
@@ -457842,7 +457847,6 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457842
457847
|
this.map.removeLayer(foundLayer);
|
|
457843
457848
|
this.closePopup();
|
|
457844
457849
|
},
|
|
457845
|
-
calculateClusterInfo(resolution) {},
|
|
457846
457850
|
},
|
|
457847
457851
|
});
|
|
457848
457852
|
|