Update worldmap.js

This commit is contained in:
Dave Conway-Jones 2023-11-09 10:38:16 +00:00
parent a3ea952eed
commit 6d172129ba
No known key found for this signature in database
GPG Key ID: 1DDB0E91A28C2643

View File

@ -2136,6 +2136,7 @@ function setMarker(data) {
// remove items from list of properties, then add all others to popup
if (data.hasOwnProperty("options")) { delete data.options; }
if (data.hasOwnProperty("icon")) { delete data.icon; }
if (data.hasOwnProperty("iconSize")) { delete data.iconSize; }
if (data.hasOwnProperty("iconColor")) { delete data.iconColor; }
if (data.hasOwnProperty("photourl")) {
words += "<img src=\"" + data.photourl + "\" style=\"max-width:100%; max-height:250px; margin-top:10px;\"><br/>";