Process6 min read
Address entry in a UAE app: map pins, Makani numbers and why a required postcode field fails
By Sannan MalikPublished
Short answerFor a UAE delivery or booking app I would make a map pin the address and treat the typed text as notes for the door. Required: the pin, the emirate, a building or villa, and a phone number for the driver. Optional: area, flat, landmark, Makani number and postcode. Dubai Municipality's Makani service identifies a building entrance by number and returns coordinates with no postcode, so a required ZIP field only collects junk.
The pin is the address, the text gets the driver to the door
Most address forms are copied from a US or UK checkout: two street lines, city, state, ZIP. Put that in front of a customer in a Dubai tower and I would expect the tower name in line one, "Dubai" in the state box and five zeros in the ZIP box.
So I would start from the other end. The customer drops a pin, or accepts the one the phone's location suggests, and its latitude and longitude are what the driver app, the dispatch screen and the delivery fee all read. Everything typed after that is for the last 50 metres.
Two Google features do the work. Place Autocomplete returns predictions as the customer types, and its includedRegionCodes setting limits them to a list of up to 15 countries, so I would set it to the UAE alone. Reverse geocoding, which Google describes as translating a location on the map into a human-readable address, turns the pin into text I can pre-fill. Treat that text as a suggestion: Google's docs say the Geocoding API is not guaranteed to return any particular component for an address. What these calls cost is in my post on Google Maps costs.
What Dubai Municipality publishes about Makani numbers
Makani is Dubai Municipality's numbering of building entrances. Its web service manual says a Makani Number is generated to uniquely identify each main entrance of an existing building, and a building with several entrances has a number for each. The samples in the manual are ten digits in two groups of five, such as 30032 95320 for the municipality's main office.
Give the service a Makani number and it returns the latitude and longitude of that entrance, plus the building, community and emirate names in Arabic and English. Give it coordinates and it returns the Makani numbers of the building they fall in. The open data page says Makani data can be used as a geo-tagging system without restrictions, may not be sold, and must name Dubai Municipality as its source.
The manual's download page is dated 2020, and makani.ae refused my connection on the day I wrote this, so test the service before you scope around it. The manual's QR code samples carry an emirate code beside the number, so I would store a Makani number next to its emirate.
Abu Dhabi has its own system. The Department of Municipalities and Transport's Onwani page lists the elements of an Abu Dhabi address as building number, street name, city name, area and postal code.
Why a required postcode or state field breaks checkout
Put the two official formats next to each other. Makani's answer for a Dubai building has an emirate, a community, a building, an entrance and coordinates. No postcode. Onwani's format for Abu Dhabi does list one. I wanted the national postal rule too, but the Universal Postal Union's UAE sheet and Emirates Post's pages would not load for me, so I will not state it. The form does not depend on it.
If the field is required, a customer whose address has no code must invent one to pay, and you store 00000 as if it meant something. So the postcode is optional, never checked against a US or UK pattern, and hidden unless a courier's system asks for it.
"State" fails differently. The UAE answer is one of the seven emirates the Makani manual lists, so it is a short picker labelled Emirate, pre-selected from the pin. A free-text box gives you Dubai, DXB, Dubayy and the Arabic spelling for one place, and no report can group them.
The address form I would build, field by field
Eight fields, four of them required. The pin screen comes first.
I would not ask customers for a Plus Code. Google says Plus Codes are based on latitude and longitude, so the pin already holds everything one would.
| Field | Required? | How it is filled | Why |
|---|---|---|---|
| Map pin (latitude, longitude) | Yes | Phone location or autocomplete, then dragged to the entrance | The source of truth for routing, fees and service area |
| Emirate | Yes | Picker of seven, pre-selected from the pin | Filters and reports depend on a fixed list |
| Area or community | No | Pre-filled from reverse geocoding, editable | Lets a driver sanity-check the pin |
| Building or villa name or number | Yes | Typed, with the reverse geocode as a suggestion | What the driver looks for on arrival |
| Flat or office, floor | No | Shown when the customer picks Apartment or Office | A villa has none |
| Landmark and notes | No | Free text, up to 200 characters | "Gate 2, behind the pharmacy" beats any street line |
| Makani number | No | Ten digits, typed | The exact entrance of a large Dubai building |
| Phone for the driver | Yes | Pre-filled from the account, editable per address | The person at the door is often not the account holder |
What I store for each address
The database row is wider than the form.
- Latitude and longitude as numbers with six decimal places. One millionth of a degree of latitude is about 11 centimetres, finer than any pin drop.
- Where the pin came from: device location, search result or dragged by hand. A dragged pin is the one I trust most.
- Emirate as a fixed code. Building, flat and notes exactly as typed.
- The Makani number as a ten-character string. The manual's Ajman sample starts with two zeros, and an integer column would drop them.
- A copy of the whole address on each order. If the customer edits Home next month, last month's order still shows where the parcel went.
- Anything that came back from Google falls under Google's caching terms, which my Maps cost post covers.
Saved addresses and Arabic input
Saved addresses make repeat orders fast, and they cut the autocomplete bill. Let the customer label each one, show a small map with the pin on every saved card, and ask for a fresh pin whenever the building name changes. Text edited without moving the pin sends a driver to the old flat.
Arabic needs three decisions. Accept Arabic in every free-text field and store it as typed, with no translation and no letters-only check written for English. Convert Arabic-Indic digits to 0 to 9 in the phone, flat and Makani fields before validating. And pass the app's language to autocomplete: Google's languageCode setting asks for predictions in a preferred language, and the default is English when nothing is sent.
Layout mirroring is in my post on Arabic and English apps.
The package an address form like this fits
A pin, autocomplete and saved addresses are ordinary scope in a customer app. With a backend to hold the addresses, that is Growth at $1,699 for up to 25 screens with a Node.js backend and PostgreSQL database. Add a driver app and a dispatch dashboard and it is Scale at $2,500 for up to 50 screens with an admin dashboard. A small booking app that sends the pin to a system you already run can fit Launch at $999 for up to 10 screens.
Google Maps charges are third-party fees and are not included. A Makani lookup is an integration I would test against the live service before writing it into a scope.
Tell me which emirates you deliver to and whether the drivers are yours or a courier's. The courier's required fields decide the optional half of the form.
Questions
- Do I need Makani numbers if the app already has a map pin?
- No. The pin already carries coordinates, so I would keep the Makani field optional. It earns its place for large Dubai buildings with several entrances, because Dubai Municipality's manual says each main entrance has its own number.
- Should the app refuse an order when the pin is outside my delivery area?
- Yes, and at the pin step, before the customer types anything else. I would check the coordinates against your service area on your own server and offer another saved address.
Sources
Platform rules and fees in this article were checked against these official pages on 15 November 2026. They change, so confirm before you rely on them.
- Dubai Municipality: Makani Public Web Service Access
- Dubai Municipality: Open Data for Makani
- Abu Dhabi Department of Municipalities and Transport: Onwani
- Places API: Autocomplete (New)
- Geocoding API: Reverse geocoding (address lookup) request and response
- Geocoding API: Geocoding request and response
- Google Maps: Plus Codes
Sannan Malik is a software architect and product builder with 8+ years in software, CEO of Alpha Notic FZE and a Certified Scrum Product Owner. He builds mobile apps and business software for companies in the UAE, the wider Gulf, the UK, the US, Canada and Australia.