đ Address geocoding
Each property address is submitted to the TMaps Geocoding API which returns GPS coordinates with a confidence score.
POST /geocoding/forward 94% accuracy on Tunisian addresses for your property listings.
Endpoints used
POST /geocoding/forward GET /geocoding/nearby GET /maps/static on Tunisian addresses
in the active catalog
since adding the map view
Click markers to view details · Map powered by TMaps
ImmoPlus Tunisie
ImmoPlus Tunisie displays its 1,200 listings on an interactive map by converting each address to GPS coordinates using the TMaps Geocoding API. Buyers instantly visualize properties, filter by neighborhood and calculate distances to schools or hospitals.
// GĂ©ocodage d'annonces â API TMaps
const results = await Promise.all(
properties.map(async (p) => {
const res = await fetch(
`https://api.tmaps.tn/geocoding/forward` +
`?q=${encodeURIComponent(p.address)}` +
`&country=TN` +
`&api_key=YOUR_KEY`
);
const { lat, lng, confidence } = await res.json();
return { ...p, lat, lng, confidence };
})
);
// Exemple de réponse :
// { lat: 36.8382, lng: 10.2264, confidence: 0.96 }Each property address is submitted to the TMaps Geocoding API which returns GPS coordinates with a confidence score.
POST /geocoding/forward The Nearby API identifies schools, shops and transit around each property to enrich the listing page.
GET /geocoding/nearby A static map image is generated for each listing: ideal for emails and search result previews.
GET /maps/static Start free with 50,000 requests offered every month. No credit card required.
Read the documentation â