TMaps - Mapping API Tunisia
đŸ›Ąïž Insurance & Claims Use case · AssuMap TN

Manage Your Claims and Field Inspections with TMaps API

Assign the nearest expert, optimize their tour, collect field data.

Endpoints used

GET /distance-matrix POST /routing/optimized GET /geocoding/reverse
Active claims experts
6

Greater Tunis

Cases per tour
3,5

vs 1.8 before TMaps

Processing time reduced
40%

since TMaps integration

Interactive Demo

Click markers to view details · Map powered by TMaps

AssuMap TN

AssuMap TN, a Tunisian insurance company, manages its 6 claims experts using TMaps. As soon as a claim is declared, the system identifies the nearest available expert and generates an optimized route to visit multiple cases in a single tour.

Code Example
// Affectation expert sinistre — API TMaps
// 1. Matrice de distance experts → sinistre
const matrix = await fetch(
  'https://api.tmaps.tn/distance-matrix',
  {
    method: 'POST',
    headers: { 'Authorization': 'Bearer YOUR_KEY' },
    body: JSON.stringify({
      origins: experts.map(e => ({
        lat: e.lat, lng: e.lng
      })),
      destinations: [claim.position],
      profile: 'driving',
    }),
  }
);
// 2. Sélection de l'expert le plus proche
const { durations } = await matrix.json();
const nearest = experts[
  durations.indexOf(Math.min(...durations))
];

How It Works

1

📋 Claim geolocation

The declared claim address is instantly geocoded to locate the case on the map of available experts.

GET /geocoding/forward
2

đŸ‘€ Nearest expert assignment

The distance matrix calculates travel time from each available expert to designate the closest to the claim.

GET /distance-matrix
3

đŸ—ș Multi-case optimized tour

The Routing API optimizes the sequence of claims to process during the day to minimize the expert's travel.

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 →