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
Draw a line across the 180th meridian using a GeoJSON source.
Toggle between rendering a single world and multiple copies of the world using setRenderWorldCopies.
Prevent a map from being panned to a different place by setting maxBounds.
This tutorial shows how to add a GeoJSON line overlay 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.
reCAPTCHA failed! Please try again.