How MapTiler map tiles are Generated and Delivered
MapTiler provides a robust infrastructure for generating and delivering map tiles globally. The process involves creating map tiles, distributing them via a content delivery network (CDN), and ensuring fast and reliable access through a network of servers and data centers.
Map Tile Generation
- Data Processing: Raw geographic data is processed using MapTiler’s geodata processing tools. This includes transforming, styling, and encoding the data into a format suitable for tiling.
- Tile Creation: The processed data is divided into smaller tiles at various zoom levels. These tiles are optimized for efficient storage and quick retrieval.
Delivery Infrastructure
- Core Data Centers:
- Locations: Western Europe and North America.
- Setup: High-availability configurations with load balancers and automatic failover mechanisms.
- Redundancy: Both data centers operate independently but usually work simultaneously, sharing traffic based on geographic proximity.
- CDN and Edge Servers:
- CDN: Over 300 edge servers globally, ensuring minimal latency by delivering tiles from the nearest server to the user.
- Anycast Service: Uses IP anycast to route user requests to the closest server, enhancing speed and reliability.
Troubleshooting Slow Loading of Tiles
If users experience slow loading of map tiles, consider the following troubleshooting steps:
- Check Network Conditions: Ensure that the user’s internet connection is stable and not experiencing high latency or packet loss.
- Server Status: Visit the MapTiler status page to check if there are any ongoing issues with MapTiler’s servers.
- Clear Cache: Sometimes, cached data can cause slow loading. Clearing the browser or application cache can help.
- Populate CDN node cache: Sometimes, it helps to load map tiles from certain areas several times so they can cache on the nearest CDN nod, and then you can load them faster.
- Optimize Requests: Ensure that requests to the MapTiler API are optimized and not excessive, which can lead to throttling.
- Geographic Proximity: Users far from edge servers may experience slower loading times. MapTiler’s CDN should mitigate this, but network issues can still arise.
Conclusion
MapTiler’s infrastructure is designed for high performance and reliability. By understanding the process of map tile generation and delivery and knowing how to troubleshoot common issues, users can ensure a smooth and efficient experience with MapTiler’s services. For more detailed technical support, refer to MapTiler’s documentation.
Related guides
- Automatically created API key
- Check if MapLibre GL JS is supported
- Coordinates API
- Dataset upload - formats and limits
- Difference between 256x256, 512x512, and HiDPI/Retina rasterized tiles
- Exported Tiles Multiplier
- Generalization in maps
- How are the tile requests cached in web browser?
- How MapTiler map tiles are Generated and Delivered
- How to add Geocoding control to Maplibre GL JS map
On this page