TMaps - Mapping API Tunisia
🚗 Transport & Logistics Use case · TransTN Logistics

Real-Time GPS Fleet Tracking with TMaps API

See every vehicle in your fleet, live, on an accurate Tunisian map.

Endpoints used

GET /maps/tiles/{z}/{x}/{y} POST /geocoding/reverse GET /routing/direction
Active vehicles
8 / 8

full fleet supervised

Update frequency
30 s

continuous GPS position

Driven today
142 km

fleet cumulative real time

Interactive Demo

Live fleet

  • V-001🚚42km/h
  • V-002🚙35km/h
  • V-003🚐
  • V-004🚛58km/h
  • V-005🚗22km/h
  • V-006🚌
  • V-007🏎️67km/h
  • V-008🚕

Click markers to view details · Map powered by TMaps

TransTN Logistics

TransTN Logistics manages its 8 vehicles from a map dashboard powered by TMaps. Each truck sends its GPS position every 30 seconds; geofence alerts and mileage statistics are calculated on the fly.

Code Example
// Suivi flotte — SDK React TMaps
import { TmapsMap, Marker } from '@tmaps/react';

function FleetDashboard({ vehicles }) {
  return (
    <TmapsMap
      center={[36.845, 10.20]}
      zoom={12}
      apiKey="YOUR_API_KEY"
    >
      {vehicles.map(v => (
        <Marker
          key={v.id}
          position={[v.lat, v.lng]}
          icon={statusIcon(v.status)}
        >
          <Popup>
            <b>{v.id}</b> — {v.driver}<br/>
            Statut : {v.status}<br/>
            Vitesse : {v.speed} km/h
          </Popup>
        </Marker>
      ))}
    </TmapsMap>
  );
}

How It Works

1

📡 GPS position collection

Each vehicle sends its GPS coordinates to the server every 30 seconds via the TMaps REST API.

POST /positions
2

🗺️ Interactive map display

TMaps vector tiles display Tunisian streets in high resolution with live-updated vehicle markers.

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

🔔 Alerts and geofencing

Define geographic zones; any entry or exit automatically triggers an SMS or push alert.

POST /geofence/check

Ready to integrate TMaps into your project?

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

Read the documentation →