Works without a key while you test; use a key in production.
Maps API: show a Navvo map in your app
The Navvo Maps API serves a complete vector map style: roads, buildings, places, water and labels in Arabic and English. Point a GL map renderer at the style URL and the map draws itself; Navvo also hosts a small browser SDK that wraps the renderer.
The basemap renders across the whole Middle East, with Arabic and English labels in light and dark looks.
Example
Display a map (browser)
<link href="https://docs.navvo.io/navvo-maps/navvo-maps.css" rel="stylesheet" />
<script src="https://docs.navvo.io/navvo-maps/navvo-maps.js"></script>
<div id="map" style="height: 480px"></div>
<script>
const map = new NavvoMaps.Map({
container: "map",
style: "https://navvo.io/api/v1/tiles/style?style=standard&api_key=YOUR_KEY",
center: [35.9106, 31.9539],
zoom: 12
});
</script>
- Styles: standard, dark and more; list them with GET /tiles/styles.
- Browsers cannot send an x-api-key header on tile requests, so the key goes on the style URL as api_key. Restrict the key to your website in the developer portal.
- Keep the on-map attribution visible. The satellite style carries an extra imagery credit that must be shown.
Endpoints
GET /tiles/styleGET /tiles/stylesGET /tiles/static
Common uses
- Store and branch maps
- Delivery and fleet dashboards
- Property and travel listings
- Static map images for emails and receipts