# Displaying maps to show location of users

**URL:** <https://community.dynatrace.com/t/displaying-maps-to-show-location-of-users/47155>\
**Category:** Developer Q&A Forum\
**Tags:** strato, custom-app\
**Created:** [August 14, 2024, 2:14pm UTC](https://community.dynatrace.com/t/displaying-maps-to-show-location-of-users/47155 "2024-08-14T14:14:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asmae](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Asmae](https://community.dynatrace.com/u/Asmae)\
**Post date:** [August 14, 2024, 2:14pm UTC](https://community.dynatrace.com/t/displaying-maps-to-show-location-of-users/47155/1 "2024-08-14T14:14:56Z")

</div>

Hello, I am currently creating an app that enables, through logs, to fetch the number of users per country. The client also asked to display these countries on a map (which is possible as we have the country name, the longitude & latitude).

I tried using react-leaflet but i got many errors within the modules. What library might be more suitable so i can do so?

Thanks in advance!

Example of the error :&nbsp; Error: No loader is configured for “.png” files: node\_modules/leaflet/dist/images/marker-icon.png  
405 | /\* Default icon URLs \*/  
406 | .leaflet-default-icon-path { /\* used only in path-guessing heuristic, see L.Icon.Default \*/  
\> 407 | background-image: url(images/marker-icon.png);  
| ^  
408 | }  
409 |

---

<div class="post-metadata">

**Author:** ![imsingh](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/imsingh/32/7858_2.png) [@imsingh](https://community.dynatrace.com/u/imsingh)\
**Post date:** [August 21, 2024, 8:46am UTC](https://community.dynatrace.com/t/displaying-maps-to-show-location-of-users/47155/2 "2024-08-21T08:46:09Z")

</div>

Hi there

If you don’t explicitly need leaflet, I’ll suggest you take a look at Strato Geo package. In particular DotLayer component here&nbsp;[https://developer.dynatrace.com/design/geo/DotLayer/](https://developer.dynatrace.com/design/geo/DotLayer/)&nbsp;that you can use to show data points on a map.

Let me know if this helps 🙂

---

<div class="post-metadata">

**Author:** ![Asmae](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Asmae](https://community.dynatrace.com/u/Asmae)\
**Post date:** [August 21, 2024, 2:29pm UTC](https://community.dynatrace.com/t/displaying-maps-to-show-location-of-users/47155/3 "2024-08-21T14:29:03Z")

</div>

Hello 🙂

I replaced leaflet by the Strato Geo package and it works really well 😄 Thanks a lot !
