Skip to content

Instantly share code, notes, and snippets.

diff --git a/js/geolocation-common-map.js b/js/geolocation-common-map.js
index 0b14d3f..b021281 100644
--- a/js/geolocation-common-map.js
+++ b/js/geolocation-common-map.js
@@ -373,7 +373,20 @@
};
if (typeof location.data('icon') !== 'undefined') {
- markerConfig.icon = location.data('icon');
+ if (location.data('labelOriginX') !== 'undefined' &&