Mapbox, Please Help!

The new version has been released. You can now create your own popup using the x/y position provided by the marker click/mouseenter/mouseleave events (under the domEvent property).

You can also configure the max width you want along side many new options if you prefer continue to use the native popup from mapbox.

We also added a new center component variable so you can get the center when you need it.

Capture d’écran 2023-08-22 à 16.15.49

Finally, we added two new triggers => On map drag start / On map drag end, so you can react when your user is dragging the map to move inside.

5 Likes