By the way, using the LeafletJS library directly (this is the same library that worldmap uses) is not really much harder since UIBUILDER already provides comms between Node-RED and the browser.
Add the leaflet js library and css to your page, add a div with an id="map" (so you can use leaflet's examples). Then add the example code from their website.
To send a user click on the map back to Node-RED:
function onMapClick(e) {
// console.log('leaflet click', e)
uibuilder.send({topic: 'leaflet click', payload: e.latlng})
}
That's it!
Now you can build your own map apps ![]()