Customize google map in node red

1,687 views
Skip to first unread message

Sandip Bailkar

unread,
Apr 24, 2017, 8:53:37 AM4/24/17
to Node-RED
hi,

I am new to node red. I have to show nearby location on Map. My task is showing nearby hospital on map . In node red , I am using, google places Nearby API. I am getting correct JSON format on debug window but My requirement is to show it on Map. So how to show valid location on map. Can anyone help me to resolve my issue?

Sandip Bailkar

unread,
Apr 24, 2017, 8:56:21 AM4/24/17
to Node-RED


On Monday, April 24, 2017 at 6:23:37 PM UTC+5:30, Sandip Bailkar wrote:
hi,

I am new to node red. I have to show nearby location on Map. My task is showing nearby hospital on map . In node red , I am using, google places Nearby API. I am getting correct JSON format on debug window but My requirement is to show it on Map. So how to show valid location on map. Can anyone help me to resolve my issue?





My node red flow:

[{"id":"4e1204a9.b5877c","type":"google places","z":"2b485352.51cbec","reqType":"placesNearby","googleAPI":"","name":"","lat":"18.5971","lon":"73.7188","query":"","radius":"5000","rankBy":"","keyword":"Hospital","language":"","minPrice":"","maxPrice":"","placeName":"","placeId":"","extensions":"","openNow":"","types":"","outputnumber":"1","outputas":"single","x":593.1428527832031,"y":300.8571472167969,"wires":[["67279be.563b464","fe5c70c3.ac0b3"]]},{"id":"67279be.563b464","type":"debug","z":"2b485352.51cbec","name":"","active":true,"console":"false","complete":"false","x":791.4285714285713,"y":335.71428571428567,"wires":[]},{"id":"3b09eebc.2b4022","type":"inject","z":"2b485352.51cbec","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":172.85714285714283,"y":261.4285714285714,"wires":[["4e1204a9.b5877c"]]},{"id":"17d83661.685fca","type":"http in","z":"2b485352.51cbec","name":"","url":"/nearbyhospital","method":"get","swaggerDoc":"","x":174.28571428571428,"y":382.85714285714283,"wires":[["4e1204a9.b5877c"]]},{"id":"fe5c70c3.ac0b3","type":"http response","z":"2b485352.51cbec","name":"","x":692.8571428571428,"y":434.2857142857142,"wires":[]}]


 

Dave C-J

unread,
Apr 24, 2017, 10:21:19 AM4/24/17
to node...@googlegroups.com
Well I would use the node-red-contrib-web-worldmap node ... (but then again I wrote it ;-)

or several other examples if you search for map on http://flows.nodered.org/
Reply all
Reply to author
Forward
0 new messages