diff --git a/worldmap/worldmap.js b/worldmap/worldmap.js index 5ca8335..1e907c4 100644 --- a/worldmap/worldmap.js +++ b/worldmap/worldmap.js @@ -3143,7 +3143,9 @@ function doGeojson(n,g,l,o) { // name, geojson, layer, options delete tx["name"]; tx = JSON.stringify(tx,null,' '); if ( tx !== "{}") { - l.bindPopup(''+n+'
'+tx.replace(/[\{\}"]/g,'')+'
'); + var gp = '
'+tx.replace(/[\{\}"]/g,'')+'
' + if (n) { gp = ''+n+'' + gp; } + l.bindPopup(gp); } } if (o && o.hasOwnProperty("clickable") && o.clickable === true) {