Skip to content

Commit ef1c68b

Browse files
committed
Update worldmap.js
1 parent 0629ac2 commit ef1c68b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

worldmap/worldmap.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1565,6 +1565,7 @@ var rangerings = function(latlng, options) {
15651565

15661566
// the MAIN add marker or shape to map function
15671567
function setMarker(data) {
1568+
if (!data) { return; }
15681569
var rightmenu = function(m) {
15691570
m.on('click', function(e) {
15701571
var fb = allData[data["name"]];

0 commit comments

Comments
 (0)