# Worldmap ui not working

**URL:** https://discourse.nodered.org/t/worldmap-ui-not-working/29904
**Category:** General
**Created:** [11 July 2020 16:38 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904 "2020-07-11T16:38:03Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![mshaz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mshaz/32/2294_2.png) [@mshaz](https://discourse.nodered.org/u/mshaz)
#### Post date: [11 July 2020 16:38 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/1 "2020-07-11T16:38:04Z")

</div>

Hi

I can't seem to toggle the ui\_worldmap on.By default after installation it is off. Can anyone help me?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/6/66404da60623c39612ffae2f090343aa6a503b3a.png)

---

<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: [11 July 2020 17:18 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/2 "2020-07-11T17:18:17Z")

</div>

do you have node-red-dashboard installed ? ui\_worldmap is a plugin for the dashboard.

---

<div class="post-metadata">

### Author: ![mshaz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mshaz/32/2294_2.png) [@mshaz](https://discourse.nodered.org/u/mshaz)
#### Post date: [11 July 2020 18:45 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/3 "2020-07-11T18:45:14Z")

</div>

Yes I have the latest one. I have issues using template ui and the map went missing when I refresh the page that's why I want to try using ui\_worldmap.

Any solution for the template issues?

---

<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: [11 July 2020 21:26 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/4 "2020-07-11T21:26:00Z")

</div>

we have no idea what your template issues are, so it is hard to guess based on no information. If you remove your template does the worldmap then work ?

---

<div class="post-metadata">

### Author: ![mshaz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mshaz/32/2294_2.png) [@mshaz](https://discourse.nodered.org/u/mshaz)
#### Post date: [12 July 2020 07:06 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/5 "2020-07-12T07:06:50Z")

</div>

The map working but when I refresh the page in browser it disappears. Same as other templates too where I embed images etc

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/0/10c715a68db47451414c6964eee248972d6db24c.png)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [12 July 2020 07:14 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/6 "2020-07-12T07:14:59Z")

</div>

Try putting 1 ui\_control node on the page linked to where those 2 injects go. That should cause your flows to update the map and template when your browser connects/refreshes.

---

<div class="post-metadata">

### Author: ![mshaz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mshaz/32/2294_2.png) [@mshaz](https://discourse.nodered.org/u/mshaz)
#### Post date: [12 July 2020 07:31 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/7 "2020-07-12T07:31:48Z")

</div>

It works on image whn i refresh but on map flows, the marker doesn't refresh. Is this the correct way?

Thanks.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/2/a2bb3759ca57acacc37c36a909ae609830e64123.png)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [12 July 2020 07:36 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/8 "2020-07-12T07:36:28Z")

</div>

> [@mshaz](#):
>
> Is this the correct way

No.

You have only linked it to one and you put it in between the inject and the template.

I said

> [@Steve-Mcl](#):
>
> Try putting 1 ui\_control node on the page linked to where those 2 injects go

```auto
ui_control --> function --> map
          +--> template --> uitemplate

```

---

<div class="post-metadata">

### Author: ![mshaz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mshaz/32/2294_2.png) [@mshaz](https://discourse.nodered.org/u/mshaz)
#### Post date: [12 July 2020 07:41 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/9 "2020-07-12T07:41:09Z")

</div>

Like this? It doesn't load after refresh.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/6/b65938aa8ec00fe302936e604306df14460be280.png)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [12 July 2020 07:44 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/10 "2020-07-12T07:44:22Z")

</div>

Haha no. Nothing like what I said.

In not certain how I can be clearer? ...

> Try putting 1 ui\_control node on the page linked to where those 2 injects go

---

<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: [10 September 2020 07:44 UTC](https://discourse.nodered.org/t/worldmap-ui-not-working/29904/11 "2020-09-10T07:44:34Z")

</div>

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