d0205a6643
* Replaced the Worldmap node with a fresh copy to fix the Info tab link error (issue #149) * Replaced the Worldmap node with a fresh copy to fix the Info tab link error (issue #149) * Replaced the Worldmap node with a fresh copy to fix the Info tab link error (issue #149)
2 lines
2.5 KiB
JSON
2 lines
2.5 KiB
JSON
[{"id":"86457344.50e6b","type":"inject","z":"ce7dd95c.f41c","name":"","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"none","x":210,"y":100,"wires":[["9a142026.fa47f"]]},{"id":"9a142026.fa47f","type":"function","z":"ce7dd95c.f41c","name":"add new layer","func":"msg.payload = {};\nmsg.payload.command = {};\n\nvar u = 'http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png';\nvar o = { maxZoom: 19, attribution: '© OpenStreetMap'};\n\nmsg.payload.command.map = {name:\"OSMhot\", url:u, opt:o};\nmsg.payload.command.layer = \"OSMhot\";\n\nreturn msg;","outputs":1,"noerr":0,"x":440,"y":100,"wires":[["95e05f39.53ab28"]]},{"id":"2998e233.4ba64e","type":"function","z":"ce7dd95c.f41c","name":"USGS Quake monitor csv re-parse","func":"msg.payload.lat = msg.payload.latitude;\nmsg.payload.lon = msg.payload.longitude;\nmsg.payload.layer = \"earthquake\";\nmsg.payload.name = msg.payload.id;\nmsg.payload.icon = \"globe\";\nmsg.payload.iconColor = \"orange\";\n\ndelete msg.payload.latitude;\ndelete msg.payload.longitude;\t\nreturn msg;","outputs":1,"noerr":0,"x":560,"y":240,"wires":[["95e05f39.53ab28"]]},{"id":"e72c5732.9fa198","type":"function","z":"ce7dd95c.f41c","name":"move and zoom","func":"msg.payload = { command:{layer:\"Esri Terrain\",lat:0,lon:0,zoom:3} };\nreturn msg;","outputs":1,"noerr":0,"x":440,"y":140,"wires":[["95e05f39.53ab28"]]},{"id":"12317723.589249","type":"csv","z":"ce7dd95c.f41c","name":"","sep":",","hdrin":true,"hdrout":"","multi":"one","ret":"\\n","temp":"","x":410,"y":180,"wires":[["2998e233.4ba64e"]]},{"id":"10e5e5f0.8daeaa","type":"inject","z":"ce7dd95c.f41c","name":"","repeat":"","crontab":"","once":false,"topic":"","payload":"","payloadType":"none","x":210,"y":140,"wires":[["e72c5732.9fa198"]]},{"id":"b6917d83.d1bac","type":"http request","z":"ce7dd95c.f41c","name":"","method":"GET","url":"http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_day.csv","x":290,"y":240,"wires":[["12317723.589249"]]},{"id":"3842171.4d487e8","type":"inject","z":"ce7dd95c.f41c","name":"Quakes","repeat":"900","crontab":"","once":false,"topic":"","payload":"","payloadType":"none","x":220,"y":180,"wires":[["b6917d83.d1bac"]]},{"id":"95e05f39.53ab28","type":"worldmap","z":"ce7dd95c.f41c","name":"","lat":"","lon":"","zoom":"","layer":"","cluster":"","maxage":"","usermenu":"show","layers":"show","panit":"false","panlock":"false","zoomlock":"false","hiderightclick":"false","coords":"false","showgrid":"false","allowFileDrop":"false","path":"/worldmap","x":780,"y":140,"wires":[]}]
|