# Node-red-contrib-web-worldmap: is it possible to zoom by sending input messages?

**URL:** <https://discourse.nodered.org/t/node-red-contrib-web-worldmap-is-it-possible-to-zoom-by-sending-input-messages/27605>\
**Category:** General\
**Created:** [1 June 2020 08:09 UTC](https://discourse.nodered.org/t/node-red-contrib-web-worldmap-is-it-possible-to-zoom-by-sending-input-messages/27605 "2020-06-01T08:09:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [1 June 2020 08:09 UTC](https://discourse.nodered.org/t/node-red-contrib-web-worldmap-is-it-possible-to-zoom-by-sending-input-messages/27605/1 "2020-06-01T08:09:55Z")

</div>

I would like to use node-red-contrib-web-worldmap to show a satellite image centered around a specific earth coordinate and then let it automatically zoom in.

Once this is done I would like to switch to another earth coordinate (completely zoomed out and centered on it) and then again automatically zoom in.

This should not involve any interaction of the user in the browser. My idea was to make node-red send the appropriate messages to the worldmap node to make this happen. I don't know if this is possible or if there is some other way to do this.

All comments and advice are more than welcome.  
Jan.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [1 June 2020 08:11 UTC](https://discourse.nodered.org/t/node-red-contrib-web-worldmap-is-it-possible-to-zoom-by-sending-input-messages/27605/2 "2020-06-01T08:11:09Z")

</div>

Yes - all commands are in the readme...

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [1 June 2020 08:16 UTC](https://discourse.nodered.org/t/node-red-contrib-web-worldmap-is-it-possible-to-zoom-by-sending-input-messages/27605/3 "2020-06-01T08:16:02Z")

</div>

Thanks for the very fast response.

I found it : [https://www.npmjs.com/package/node-red-contrib-web-worldmap#controlling-the-map](https://www.npmjs.com/package/node-red-contrib-web-worldmap#controlling-the-map)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 June 2020 08:28 UTC](https://discourse.nodered.org/t/node-red-contrib-web-worldmap-is-it-possible-to-zoom-by-sending-input-messages/27605/4 "2020-06-15T08:28:23Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
