Esri Map Services

New to Node-RED and am tooling around with the WorldMap Node. I'm interested to see if I can overlay this map service:

This is my logic, I get no errors but also no map.

msg.payload = {};
msg.payload.command = {};

var mURL = ""; = {overlay:"Weather", url:mURL, layer:"Weather"};

return msg;

If this is not the right forum I apologize in advanced,



well you have just tried to point at a web page of text so it's not going to show a map ... you need to find the actual WMS map server that that page is talking about. - This requires a bit of digging with things like QGIS etc...

However - testing it for you... - has found a small bug in the overlay naming - so you'll also need to pull latest 1.4.5 version of the worldmap node from npm.

msg.payload = {};
msg.payload.command = {}; = {
    overlay: "NowCoast",
    url: '',
    opt:  {
        layers: '1',
        format: 'image/png',
        transparent: true,
        attribution: "NOAA/NWS"
    wms: true

return msg;

looks good though ! (IMHO)

1 Like

Perfect, thanks! I updated to the latest worldmap version and replaced my logic with yours.

Works like a charm.



@smulberry care to share the flow, I'd love to see the specifics.

somewhat trivial ...

[{"id":"f22e5b4f.f7bf28","type":"worldmap","z":"dfe4ec36.0a5a5","name":"","lat":"","lon":"","zoom":"","layer":"","cluster":"","maxage":"","usermenu":"show","layers":"show","panit":"false","x":530,"y":1560,"wires":[]},{"id":"36c4b928.77d416","type":"inject","z":"dfe4ec36.0a5a5","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":1560,"wires":[["4ff448eb.0d5538"]]},{"id":"4ff448eb.0d5538","type":"function","z":"dfe4ec36.0a5a5","name":"US Rainfall","func":"msg.payload = {};\nmsg.payload.command = {};\n\ = {\n    overlay: \"NowCoast\",\n    url: '',\n    opt:  {\n        layers: '1',\n        format: 'image/png',\n        transparent: true,\n        attribution: \"NOAA/NWS\"\n    },\n    wms: true\n}\n\nreturn msg;","outputs":1,"noerr":0,"x":330,"y":1560,"wires":[["e4c2dd2d.e5f65","f22e5b4f.f7bf28"]]}]
1 Like

argh, doing a refresh always helps! Thanks got it working now