📡 GPS position collection
Each vehicle sends its GPS coordinates to the server every 30 seconds via the TMaps REST API.
POST /positions 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 full fleet supervised
continuous GPS position
fleet cumulative real time
Live fleet
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.
// 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>
);
}Each vehicle sends its GPS coordinates to the server every 30 seconds via the TMaps REST API.
POST /positions TMaps vector tiles display Tunisian streets in high resolution with live-updated vehicle markers.
GET /maps/tiles/{z}/{x}/{y} Define geographic zones; any entry or exit automatically triggers an SMS or push alert.
POST /geofence/check Start free with 50,000 requests offered every month. No credit card required.
Read the documentation →