Leaflet Tutorial: Add a Map of Tunisia with TMaps Tiles
dev.to
Delivery app, real estate site, store locator: sooner or later, a project in Tunisia needs a base map. And not just any map. People expect to see their neighbourhood, their street names and the road numbers they actually drive on. In this post we'll put a map from TMaps, the maps API built for Tunisia, in Leaflet. It takes about ten lines of JavaScript. Then we'll go through the small details that tend to eat an afternoon: the API key, authorized domains, zoom limits and caching. You can see t