ehema exact location eka ganna widihak ne ban. eka nisa mulu city ekama ganna baluwe.Lankawe postalcodes walata wenama landmark deela na neda bn?.
Ex - 10200 - whole athurugiriya city.
Ethakota uba distance eka ganne center idalada?
Ehma nm dnne na bn.ehema exact location eka ganna widihak ne ban. eka nisa mulu city ekama ganna baluwe.
Exact address dekak athara driving distance eka ganna puluwan widihak thiyenawada
Google GeoCode API check karala balanna
Postal Address ganna puluwan, eke thiyanawa lat & lng
ewagen aye distance eka ganna : driving mode distance
ඒ පාර උබ මොකෝ කොරන්න යන්නේ, ගූගල් මැප් එකටත් කෙලවෙන එකක් නෑනේ![]()

Can't tell you a good solution because you are not sharing the whole problem. However, here is an approach that might work.
Like I said, this is based on what you shared, maybe we can make it better if you share your real problem. Sinhalen type karanna wela yana nisa mehema gahuwe.
- Identify Polygons for the postal code (This is needs to be a vector of coordinates denoting a polygon)
- Calculate the center of two polygons you want to measure the distance between
- For the two locations, find out the nearest points in a road using a service like the Google Roads Api
- Now measure the distance between the two road locations.
The requirement is to get the driving distance between two addresses (source and destination) for a delivery. Thing is most of the APIs return the distance between two points, not the driving distance by road.
Mapbox also has some APIs that might be able to help youThe requirement is to get the driving distance between two addresses (source and destination) for a delivery. Thing is most of the APIs return the distance between two points, not the driving distance by road.
කවුරුහරි දන්නවද API එකක්, postal codes දෙකක් දුන්නම ඒ දෙක අතර driving distance එක ගන්න පුළුවන්?
ලංකාවට හොදට වැඩ කරන එකක්, ගොඩක් ඒවා ලංකාවට වැඩ කරන්නේ නෑ
අඩෝ ලංකාවේ තියනවාද මචං. Usa, canada වළනම් හොයාගෙන වෙනම තියන ඉන්නේ. පොඩි පොඩි app හදාදී සෑහෙන්න ඕනේ වෙනවා.Google GeoCode API check karala balanna
Postal Address ganna puluwan, eke thiyanawa lat & lng
ewagen aye distance eka ganna : driving mode distance
That's doable right ?
Doesn't this solve your problem?
- get the nearest roads using the Google Roads API (https://developers.google.com/maps/documentation/roads/nearest)
- Get the directions from the Directions API (https://developers.google.com/maps/documentation/directions/overview)
Mapbox also has some APIs that might be able to help you
https://docs.mapbox.com/help/glossary/directions-api/
------ Post added on Sep 26, 2022 at 10:52 PM
I'll try these.අඩෝ ලංකාවේ තියනවාද මචං. Usa, canada වළනම් හොයාගෙන වෙනම තියන ඉන්නේ. පොඩි පොඩි app හදාදී සෑහෙන්න ඕනේ වෙනවා.