# Markers for multipoint geojson not displaying as expected

**URL:** <https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124>\
**Category:** Dashboard\
**Tags:** node-red-contrib-web-worldmap\
**Created:** [27 July 2023 18:39 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124 "2023-07-27T18:39:36Z")\
**Posts on this page:** 12\
**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:** [27 July 2023 18:39 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/1 "2023-07-27T18:39:36Z")

</div>

I am using the Turf module to create a multipoint geojson on the node-red-contrib-worldmap. I am using the geojson properties to select the marker symbol, size and color. What I am seeing is one marker applying the symbol properties but the remaining markers are the default red teardrop with white circle. I would like to see the same marker style as defined in the properties for all points in the multipoint.  
I am using the latest version of web-worldmap (2.38) in Flowforge.  
I am attaching an image of what I see:  
 ![multipoint-marker](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/9/f9ffa5425883aa65e2e1f4581987abc36c33078c.png)  
Here is the geojson:  
`{ "name": "DIFF FLTR SW", "layer": "oemEvents", "geojson": { "type": "Feature", "properties": { "name": "DIFF FLTR SW", "title": "oem-events", "marker-size": "small", "marker-symbol": "fa-warning", "marker-color": "#ace" }, "geometry": { "type": "MultiPoint", "coordinates": [[ -121.262817133304, 55.079570121853709], [-121.26296908311616, 55.08022461863119], [-121.26314970100212, 55.08025029355404], [-121.26318632483282, 55.080261960728858], [-121.2628182429498, 55.07966378977747], [-121.26241540843121, 55.08556180650549], [-121.26240251847629, 55.08471731634407], [-121.26627765311483, 55.077599633049057], [-121.26608940537696, 55.07742465784258], [-121.26614800480989, 55.07775030858421], [-121.2661375856292, 55.07701343661105], [-121.26618841378401, 55.07780481032593], [-121.26612188774591, 55.07697798119711], [-121.26601485880544, 55.07553042210138], [-121.26633692455498, 55.074997991762398], [-121.26669054664272, 55.077582592772788], [-121.26617373880804, 55.07748859305566], [-121.26619922343532, 55.07779031426313], [-121.254712655365, 55.06679947861222], [-121.25821470603982, 55.06270277400221], [-121.25745805522958, 55.063408629281209], [-121.25210781361862, 55.06697350019816], [-121.25351078040119, 55.06565329046843], [-121.26702910970443, 55.077737596700497], [-121.26624055761038, 55.077341786363408] ] } } }`  
Thanks.

[moderator note:] added a tag ‘flowforge’

---

<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:** [27 July 2023 21:39 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/2 "2023-07-27T21:39:10Z")

</div>

Thanks for the test case.  
( and removed flowforge tag. Not needed )

---

<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:** [28 July 2023 08:18 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/3 "2023-07-28T08:18:57Z")

</div>

Fixed in v2.38.1

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/5/95719f607fc30c8332d62f434ef66791681820c8.jpeg)  
Feel free to [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/dceejay) this project 🙂

---

<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:** [28 July 2023 20:29 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/4 "2023-07-28T20:29:25Z")

</div>

Sweet! Thanks so much!

---

<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:** [28 July 2023 21:21 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/5 "2023-07-28T21:21:22Z")

</div>

Hi @dceejay  
Is this the expected behaviour when clicking on the marker? Displaying a list of all properties?  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/1/f1f0fb1252a49999e921727dd33be39befd84dea.png)  
Before the fix it just showed the title and name which is preferable in my view. Viewers of my dashboard won't be interested in the marker information.  
If that is the expected behaviour then can the marker info be put in a style block? I have tried putting it in a style block but it has no effect.  
While I'm at it I might as well add to the wish list 🙂 , is the teardrop marker the only option when using geojson multipoint objects? It would be great if there was an option to use the icon on its own, without the teardrop, as you can for single point objects that require a unique name. With multipoint objects I want the name to be the same for all points in the same group.  
Thanks again.

---

<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:** [29 July 2023 14:54 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/6 "2023-07-29T14:54:46Z")

</div>

OK I have made it more consistent with other icon behaviour - so if the icon name has fa- in it it displays as just the fa-icon - and if without fa- it shows inside the teardrop  
(and fixed the popup properties) - v2.38.3  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/f/bf0bb4fae6c46006c568759ba49f00a4c8781f5f.jpeg)

---

<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:** [29 July 2023 16:48 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/7 "2023-07-29T16:48:14Z")

</div>

Thank you @dceejay all of these changes are awesome! Thanks so much! This map node is the centerpiece of our dashboard and provides a lot of information and value to our customers.  
Here is a sample of how we use it, the icons update positions every 15 seconds:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/b/0b87fea9961a4c51cd5432bafea738cba9ee5751.jpeg)

---

<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:** [29 July 2023 20:58 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/8 "2023-07-29T20:58:20Z")

</div>

Super neat ! Great to see how it’s used for real.

---

<div class="post-metadata">

**Author:** ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Post date:** [30 July 2023 15:27 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/9 "2023-07-30T15:27:59Z")

</div>

@DaveO  
Because I've never seen deejay ask I'm going to say it here.

If your a company or work for a company and you like a opensource product and you would like it to stay supported / up-to-date, and working then...............[Sponsor @dceejay on GitHub Sponsors · GitHub](https://github.com/sponsors/dceejay)

You don't have to make it a subscription there is an option for a 1 time donation.

---

<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:** [30 July 2023 21:01 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/10 "2023-07-30T21:01:51Z")

</div>

Thanks @meeki007. Any/All support is much appreciated.

---

<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:** [4 August 2023 22:58 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/11 "2023-08-04T22:58:46Z")

</div>

Thanks @meeki007 I didn't know there was such a sponsorship. Thanks for the heads-up, I will look into that.  
Cheers,  
Dave

---

<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:** [18 August 2023 22:59 UTC](https://discourse.nodered.org/t/markers-for-multipoint-geojson-not-displaying-as-expected/80124/12 "2023-08-18T22:59:36Z")

</div>

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