TMaps - Mapping API Tunisia
đŸ›ïž Public Services & Local Government Use case · MunicipalTN

Modernize Your Municipal Services with TMaps API

Interactive citizen maps, optimized collection routes and geolocated local services.

Endpoints used

GET /maps/tiles/{z}/{x}/{y} POST /routing/optimized GET /geocoding/nearby
Connected municipalities
5

Greater Tunis — demo

Travel reduction
35%

municipal agents

Citizen satisfaction
90%

online service access

Interactive Demo

Click markers to view details · Map powered by TMaps

MunicipalTN

MunicipalTN supports several Greater Tunis municipalities in their digital transformation. With the TMaps API, citizens find the nearest municipal service, agents optimize their waste collection routes, and elected officials have a map view of ongoing interventions.

Code Example
// Services de proximitĂ© — API TMaps
// Trouver les services municipaux proches
const services = await fetch(
  'https://api.tmaps.tn/geocoding/nearby' +
  '?lat=36.8200&lng=10.1900' +
  '&radius=2000' +
  '&categories=municipality,health,education' +
  '&api_key=YOUR_KEY'
);
const { results } = await services.json();
// → [
//   { name: 'Mairie de Tunis', distance: 340, lat: ..., lng: ... },
//   { name: 'Poste de santé', distance: 820, lat: ..., lng: ... },
//   ...
// ]

How It Works

1

đŸ—ș Interactive citizen map

Municipal services (town hall, post office, health center, school) are displayed on a map accessible to citizens via browser or mobile app.

GET /maps/tiles/{z}/{x}/{y}
2

🔍 Nearby services search

The citizen enters their address; the Nearby API returns the closest municipal services with distances and opening hours.

GET /geocoding/nearby
3

♻ Agent tour optimization

Collection or inspection rounds for communal agents are calculated by the Routing API to minimize kilometers traveled.

POST /routing/optimized

Ready to integrate TMaps into your project?

Start free with 50,000 requests offered every month. No credit card required.

Read the documentation →