# Im stuck with the MapboxGL case cluster.layout.text\_field

**URL:** <https://community.weweb.io/t/im-stuck-with-the-mapboxgl-case-cluster-layout-text-field/14114>\
**Category:** How do I?\
**Tags:** design, map\
**Created:** [October 23, 2024, 5:31pm UTC](https://community.weweb.io/t/im-stuck-with-the-mapboxgl-case-cluster-layout-text-field/14114 "2024-10-23T17:31:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![eric](https://avatars.discourse-cdn.com/v4/letter/e/898d66/32.png) [@eric](https://community.weweb.io/u/eric)\
**Post date:** [October 31, 2024, 5:31am UTC](https://community.weweb.io/t/im-stuck-with-the-mapboxgl-case-cluster-layout-text-field/14114/3 "2024-10-31T05:31:07Z")

</div>

thanks @DanielL  
I saw and understand it  
so Im thinking another way  
and blocked shown here  
could you check it?

> [@Custom markers on mapboxgl](https://community.weweb.io/t/custom-markers-on-mapboxgl/14228/2):
>
> Hi @Joyce @Alexis @DanielL I research and found, weweb is render the mapboxgl as a canvas so I cant handle or get the map\_element per id or handle several logic per document(wwLib.getFrontDocument()) here is 1 example about I using it const mapContainer = wwLib.getFrontDocument().getElementById("mapboxgl-canvas"); OR wwLib.getFrontDocument() .querySelectorAll(".mapboxgl-marker") .forEach((customMarker) =\> customMarker.remove and all the marker when pass to the map, they are always …

---

_[View the full topic](https://community.weweb.io/t/im-stuck-with-the-mapboxgl-case-cluster-layout-text-field/14114)._
