# Worldmap - Start lat and lon

**URL:** <https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646>\
**Category:** General\
**Created:** [26 March 2020 00:59 UTC](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646 "2020-03-26T00:59:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![robo67](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/robo67/32/18753_2.png) [@robo67](https://discourse.nodered.org/u/robo67)\
**Post date:** [26 March 2020 00:59 UTC](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646/1 "2020-03-26T00:59:10Z")

</div>

I'm struggling with injecting a start lat and lon into the worldmap node. My GNSS receiver could be anywhere globally so when it starts feeding data into the node I'd like the map to jump to that location. At the moment it jumps to southern England. Not that there's anything wrong with southern England but my test receiver is in Calgary, Canada so I have some scrolling to do to get there!

Thanks,  
Alan

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [26 March 2020 01:03 UTC](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646/2 "2020-03-26T01:03:21Z")

</div>

There's many things wrong with southern England ..... 🙂

---

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [26 March 2020 01:32 UTC](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646/3 "2020-03-26T01:32:03Z")

</div>

> [@cymplecy](#):
>
> wrong with southern England

tsk tsk 😮

---

<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:** [26 March 2020 07:42 UTC](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646/4 "2020-03-26T07:42:04Z")

</div>

Just set it in the actual config panel for the node. You can set location, zoom, map layer, etc etc

---

<div class="post-metadata">

**Author:** ![robo67](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/robo67/32/18753_2.png) [@robo67](https://discourse.nodered.org/u/robo67)\
**Post date:** [26 March 2020 22:22 UTC](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646/5 "2020-03-26T22:22:47Z")

</div>

But that's a static value, dceejay. If my GNSS receiver is moved to another location I have to modify the values in the config panel each time. Why not take initial map position data from a data stream. It is already there so why not use it?

---

<div class="post-metadata">

**Author:** ![jeffreyG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jeffreyg/32/62231_2.png) [@jeffreyG](https://discourse.nodered.org/u/jeffreyG)\
**Post date:** [26 March 2020 22:52 UTC](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646/7 "2020-03-26T22:52:58Z")

</div>

I am having the same issue. I"ll take another attempt at getting it to work.

---

<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:** [26 March 2020 23:35 UTC](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646/8 "2020-03-26T23:35:23Z")

</div>

So either the pan to option, or use a command as per the docs to move to a saved position triggered by a connect event from the worldmap-in node

---

<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:** [25 May 2020 23:44 UTC](https://discourse.nodered.org/t/worldmap-start-lat-and-lon/23646/9 "2020-05-25T23:44:29Z")

</div>

Closed on 25 May 2020 23:44 UTC

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