@community-release/nx-ui 0.0.75 → 0.0.76
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/module.json
CHANGED
|
@@ -236,13 +236,13 @@
|
|
|
236
236
|
|
|
237
237
|
// Iterate all markers
|
|
238
238
|
for (let item of markers.value) {
|
|
239
|
-
if (!(item.marker in styleCache))
|
|
239
|
+
if (item?.marker && !(item.marker in styleCache))
|
|
240
240
|
styleCache[item.marker] = new Style({ image: new Icon({ src: item.marker }) });
|
|
241
241
|
|
|
242
|
-
if (!(item.markerActive in styleCache))
|
|
242
|
+
if (item?.markerActive && !(item.markerActive in styleCache))
|
|
243
243
|
styleCache[item.markerActive] = new Style({ image: new Icon({ src: item.markerActive }) });
|
|
244
244
|
|
|
245
|
-
if (!(item.markerDisabled in styleCache))
|
|
245
|
+
if (item?.markerDisabled && !(item.markerDisabled in styleCache))
|
|
246
246
|
styleCache[item.markerDisabled] = new Style({ image: new Icon({ src: item.markerDisabled }) });
|
|
247
247
|
}
|
|
248
248
|
|