vue-geojson-view-ts 1.3.4 → 1.3.5
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/package.json
CHANGED
|
@@ -129,6 +129,7 @@ import {
|
|
|
129
129
|
defaults as defaultControls,
|
|
130
130
|
} from "ol/control";
|
|
131
131
|
import { defineComponent } from "vue";
|
|
132
|
+
import { markerDefault } from "../helpers/imgBase64";
|
|
132
133
|
|
|
133
134
|
export default defineComponent({
|
|
134
135
|
name: "MapHeat",
|
|
@@ -146,6 +147,8 @@ export default defineComponent({
|
|
|
146
147
|
height: "250px",
|
|
147
148
|
maxZoom: 20,
|
|
148
149
|
iconMarker: {
|
|
150
|
+
image: markerDefault,
|
|
151
|
+
color: "#f47521",
|
|
149
152
|
iconUrl: "/image/gmap01.png",
|
|
150
153
|
iconSize: [25, 41],
|
|
151
154
|
iconAnchor: [12, 41],
|
|
@@ -256,8 +259,10 @@ export default defineComponent({
|
|
|
256
259
|
image: new Icon({
|
|
257
260
|
opacity: 1,
|
|
258
261
|
src: this.configurationMap?.iconMarker?.iconUrl,
|
|
259
|
-
|
|
260
|
-
//
|
|
262
|
+
color: this.configurationMap.iconMarker?.color,
|
|
263
|
+
// img: this.configurationMap.iconMarker.image,
|
|
264
|
+
width: this.configurationMap?.iconMarker.iconSize[0],
|
|
265
|
+
height: this.configurationMap?.iconMarker.iconSize[1],
|
|
261
266
|
}),
|
|
262
267
|
zIndex: zIndex,
|
|
263
268
|
});
|