Docs › Products
Map styles
Save your own brand look for the Wazli map (colours, buildings, house numbers, which places show) and load it by name on your websites and apps.
What to send
Styles are saved with a server key that has the Map styles product, kept on your server. Each account holds up to 20 styles. A name is 2 to 40 characters of a-z, 0-9 and "-" (not at either end).
| Call | What it is |
|---|---|
GET /styles | Every style on the account. |
GET /styles/{name} | One style. |
PUT /styles/{name} | Make the style, or replace it. The body is JSON, at most 4 KB. |
DELETE /styles/{name} | Delete the style. |
| Field | What it is |
|---|---|
base | "light" or "dark" (needed). |
colors | Colours like #1a73e8 for any of: land, water, parks, buildings, streets, mainRoads, highways, roadEdges, labels, labelOutline. |
show | true or false for places, buildings, houseNumbers. |
hidePlaces | A list of place kinds to hide from the map (below). |
Place kinds: restaurant, fast_food, cafe, bakery, ice_cream, supermarket, convenience, place_of_worship, school, kindergarten, college, university, library, hospital, clinic, doctors, pharmacy, fuel, car_wash, car_repair, charging_station, mall, jewelry, hairdresser, beauty, books, clothes, electronics, park, garden, golf_course, fitness_centre, sports_centre, stadium, beach, forest, marina, peak, hotel, attraction, theme_park, water_park, zoo, museum, theatre, cinema, artwork, animal, bank, post_office, townhall, aerodrome, station, bus_stop, ferry_terminal, police, fire_station, courthouse, bus_station, government, diplomatic, monument, memorial, ruins, archaeological_site, castle, city_gate.
What comes back
GET /styles answers { styles: [...] }; GET and PUT answer { style }; DELETE answers { deleted: true }. A style has its name, base, colors, show, hidePlaces, status ("active", or "off" when the Wazli team switched it off: maps then draw its base look) and updatedAt. An unknown name answers 404 not_found.
{
"style": {
"name": "my-brand",
"base": "light",
"colors": { "water": "#7cc4e8", "highways": "#e85d3a" },
"show": { "houseNumbers": false },
"hidePlaces": ["bus_stop", "car_wash"],
"status": "active",
"updatedAt": "2026-11-17T20:42:45.011Z"
}
}Example
Save a style from your server:
curl -X PUT "https://map.wazli.com/api/maps/v1/styles/my-brand" \
-H "X-Wazli-Key: YOUR_STYLES_KEY" \
-H "Content-Type: application/json" \
-d '{"base":"light","colors":{"water":"#7cc4e8","highways":"#e85d3a"},"show":{"houseNumbers":false},"hidePlaces":["bus_stop","car_wash"]}'Then any website key on the same account loads it by name:
WazliMaps.createMap("map", { key: "YOUR_WEBSITE_KEY", center: [-81.379, 28.538], style: "my-brand" });List your styles, or delete one:
curl "https://map.wazli.com/api/maps/v1/styles" \
-H "X-Wazli-Key: YOUR_STYLES_KEY"curl -X DELETE "https://map.wazli.com/api/maps/v1/styles/my-brand" \
-H "X-Wazli-Key: YOUR_STYLES_KEY"