We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca5e81c commit e138078Copy full SHA for e138078
worldmap/worldmap.js
@@ -2613,7 +2613,7 @@ function doCommand(cmd) {
2613
delete buttons[b.name];
2614
}
2615
buttons[b.name] = L.easyButton( b.icon, function() {
2616
- ws.send(JSON.stringify({action:"button", name:b.name, value:b?.value}));
+ ws.send(JSON.stringify({action:"button", name:b?.name, value:b?.value}));
2617
}, b.name, { position:b.position||'topright' });
2618
buttons[b.name].addTo(map);
2619
0 commit comments