đșïž Cultural map display
TMaps vector tiles display Tunisian streets with historical and cultural sites highlighted.
GET /maps/tiles/{z}/{x}/{y} Rich cultural maps that guide travelers to Tunisia's treasures.
Endpoints used
GET /maps/tiles/{z}/{x}/{y} GET /geocoding/nearby POST /routing/direction in Greater Tunis â demo
Medina â Carthage â Sidi Bou Said
downloadable vector tiles
Click markers to view details · Map powered by TMaps
TunisTrip App
TunisTrip App offers personalized tourist itineraries around Tunisian historical sites. Using the TMaps API, the app displays interactive site maps, calculates travel times between landmarks and generates offline maps for areas without network coverage.
// ItinĂ©raire touristique â API TMaps
const itinerary = await fetch(
'https://api.tmaps.tn/routing/direction',
{
method: 'POST',
headers: { 'Authorization': 'Bearer YOUR_KEY' },
body: JSON.stringify({
waypoints: [
{ lat: 36.7992, lng: 10.1709, name: 'Médina de Tunis' },
{ lat: 36.8094, lng: 10.1400, name: 'Musée du Bardo' },
{ lat: 36.8528, lng: 10.3261, name: 'Carthage' },
{ lat: 36.8680, lng: 10.3430, name: 'Sidi Bou Said' },
],
profile: 'driving',
}),
}
);
const { legs, total_duration, total_distance } = await itinerary.json();
// â total_duration: 52 min | total_distance: 32 kmTMaps vector tiles display Tunisian streets with historical and cultural sites highlighted.
GET /maps/tiles/{z}/{x}/{y} The Nearby API returns museums, mosques, restaurants and hotels around the tourist's position.
GET /geocoding/nearby The Direction API generates a walking or driving itinerary between multiple sites, with estimated travel times.
POST /routing/direction Start free with 50,000 requests offered every month. No credit card required.
Read the documentation â