vue-geojson-view-ts 1.3.6 → 1.3.8
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/dist/components/MapHeatComponent.vue.d.ts +3 -0
- package/dist/pin.svg +5 -1
- package/dist/style.css +1 -1
- package/dist/vue-geojson-view-ts.js +10211 -10257
- package/dist/vue-geojson-view-ts.umd.cjs +30 -30
- package/package.json +1 -1
- package/src/components/MapHeatComponent.vue +8 -4
package/package.json
CHANGED
|
@@ -152,6 +152,7 @@ export default defineComponent({
|
|
|
152
152
|
iconUrl: "/image/gmap01.png",
|
|
153
153
|
iconSize: [25, 41],
|
|
154
154
|
iconAnchor: [12, 41],
|
|
155
|
+
scale: 1,
|
|
155
156
|
class: "",
|
|
156
157
|
type: "image",
|
|
157
158
|
},
|
|
@@ -198,6 +199,7 @@ export default defineComponent({
|
|
|
198
199
|
},
|
|
199
200
|
methods: {
|
|
200
201
|
changeTypeMap(type: string) {
|
|
202
|
+
this.type = type;
|
|
201
203
|
if (type === "0") {
|
|
202
204
|
this.heatLayer.setVisible(true);
|
|
203
205
|
this.pointLayer.setVisible(false);
|
|
@@ -257,12 +259,13 @@ export default defineComponent({
|
|
|
257
259
|
const zIndex: any = 1;
|
|
258
260
|
const iconStyle = new Style({
|
|
259
261
|
image: new Icon({
|
|
260
|
-
opacity: 1,
|
|
262
|
+
// opacity: 1,
|
|
261
263
|
src: this.configurationMap?.iconMarker?.iconUrl,
|
|
262
264
|
color: this.configurationMap.iconMarker?.color,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
265
|
+
scale: this.configurationMap.iconMarker.scale,
|
|
266
|
+
// // img: this.configurationMap.iconMarker.image,
|
|
267
|
+
// width: this.configurationMap?.iconMarker.iconSize[0],
|
|
268
|
+
// height: this.configurationMap?.iconMarker.iconSize[1],
|
|
266
269
|
}),
|
|
267
270
|
zIndex: zIndex,
|
|
268
271
|
});
|
|
@@ -327,6 +330,7 @@ export default defineComponent({
|
|
|
327
330
|
return false;
|
|
328
331
|
},
|
|
329
332
|
async onClickListener(event: any) {
|
|
333
|
+
this.changeTypeMap("1");
|
|
330
334
|
const content: any = document.getElementById("popup-content");
|
|
331
335
|
const closer: any = document.getElementById("popup-closer");
|
|
332
336
|
|