Map styles for any use case
Design and customize your own maps
Create powerful apps with our versatile SDK
Powerful map searching and geocoding services
Enrich maps with your own data
Secure self-hosted mapping solutions
Attach a Popup to a Marker and display it when the user clicks on the Marker.
Popup
When a user hovers over a custom marker, show a popup containing more information.
When a user clicks a polygon, display a popup containing more information.
This example demonstrates using custom popups on top of a map because MapLibre's popups were originally quite limited in layout and style.
Add a popup to the map.
Thank you! Please tell us what's unclear or missing on this page, so we can improve it for you.
Thank you for your feedback!
You've already voted on this page.