# GEOJSON objects in Worldmap displaying label heading as "undefined"

**URL:** <https://discourse.nodered.org/t/geojson-objects-in-worldmap-displaying-label-heading-as-undefined/82722>\
**Category:** Dashboard\
**Tags:** node-red-contrib-web-worldmap\
**Created:** [8 November 2023 19:05 UTC](https://discourse.nodered.org/t/geojson-objects-in-worldmap-displaying-label-heading-as-undefined/82722 "2023-11-08T19:05:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveO](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@DaveO](https://discourse.nodered.org/u/DaveO)\
**Post date:** [8 November 2023 19:05 UTC](https://discourse.nodered.org/t/geojson-objects-in-worldmap-displaying-label-heading-as-undefined/82722/1 "2023-11-08T19:05:41Z")

</div>

I have the same geojson object that displays the label the way I want it in worldmap node v 2.42.3:  
 ![Shop](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/b/5bddea2acecd74d13e526e54de3256d9ab0ff1c7.png)  
But it displays like this in the newest version of worldmap node:  
 ![shop-undefined](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/6/e6a326edfc78f42a4e6628a40817720cff52f842.png)  
Here is the object being used in both cases (except for the colour):  
`{ "name": "SHOP", "layer": "Parking", "color": ["hsl(36,97%,55%)"], "weight": "3", "geojson": { "type": "Feature", "properties": "SHOP", "geometry": { "type": "Polygon", "coordinates": [[ [ -121.8347274, 55.3996821], [-121.8341884, 55.3995406], [-121.8342977, 55.3993975], [-121.8338165, 55.3992948], [-121.8336873, 55.3994471], [-121.8333031, 55.3993416], [-121.8331278, 55.3995665], [-121.8338107, 55.39976], [-121.8341818, 55.3998519], [-121.834497, 55.3999242], [-121.8347274, 55.3996821] ] ] } } }`  
I can't figure out how to get rid of the 'undefined' heading.

Thanks,  
Dave

---

<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:** [8 November 2023 19:46 UTC](https://discourse.nodered.org/t/geojson-objects-in-worldmap-displaying-label-heading-as-undefined/82722/2 "2023-11-08T19:46:56Z")

</div>

Thanks. Will have a look tomorrow.

---

<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:** [8 November 2023 19:59 UTC](https://discourse.nodered.org/t/geojson-objects-in-worldmap-displaying-label-heading-as-undefined/82722/3 "2023-11-08T19:59:16Z")

</div>

Odd location ?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [8 November 2023 22:04 UTC](https://discourse.nodered.org/t/geojson-objects-in-worldmap-displaying-label-heading-as-undefined/82722/4 "2023-11-08T22:04:04Z")

</div>

Not if you like mining! 🙂 Cold though at 3deg

---

<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:** [9 November 2023 09:50 UTC](https://discourse.nodered.org/t/geojson-objects-in-worldmap-displaying-label-heading-as-undefined/82722/5 "2023-11-09T09:50:09Z")

</div>

Fix will be in v4.3.2 later today

---

<div class="post-metadata">

**Author:** ![DaveO](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@DaveO](https://discourse.nodered.org/u/DaveO)\
**Post date:** [9 November 2023 23:18 UTC](https://discourse.nodered.org/t/geojson-objects-in-worldmap-displaying-label-heading-as-undefined/82722/6 "2023-11-09T23:18:49Z")

</div>

Great, thanks a lot!

---

<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:** [23 November 2023 23:19 UTC](https://discourse.nodered.org/t/geojson-objects-in-worldmap-displaying-label-heading-as-undefined/82722/7 "2023-11-23T23:19:16Z")

</div>

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