We could not calculate directions between Place A and Place B

1,364 views
Skip to first unread message

Khaled Jendi

unread,
Dec 28, 2011, 1:20:44 AM12/28/11
to Google Maps JavaScript API v3
hi,

I am doing a project to cover all routs between cities of arabian gulf
region, I got everything is alright and I can draw driving routes for
cites,
but one of these counties (Oman) i couldn't draw any driving route
between any two cities in Sultanate of Oman
I was trying in main google maps website (maps.google.com) to do so,
but I got this error: We could not calculate directions between 'Place
A' and 'Place B'
where 'Place A' is first city and 'Place B' is the second city

so is there a way to solve the problem?
or is there work around?


any help is greatly appreciated

Rossko

unread,
Dec 28, 2011, 5:09:09 AM12/28/11
to Google Maps JavaScript API v3
> but one of these counties (Oman) i couldn't draw any driving route
> between any two cities in Sultanate of Oman

It is a FAQ
http://code.google.com/apis/maps/faq.html#directions_countries
driving directions is not supported in every country of the world

Khaled Jendi

unread,
Dec 29, 2011, 5:01:15 AM12/29/11
to Google Maps JavaScript API v3
ok, isn't there any solution or workaround? is overlay can solve the
problem?
I need to find any solution using google maps

On Dec 28, 2:09 pm, Rossko <ros...@culzean.clara.co.uk> wrote:
> > but one of these counties (Oman) i couldn't draw any driving route
> > between any two cities in Sultanate of Oman
>
> It is a FAQhttp://code.google.com/apis/maps/faq.html#directions_countries

MymsMan

unread,
Dec 29, 2011, 6:37:30 AM12/29/11
to google-map...@googlegroups.com
Overlays aren't going to help.  Google doesn't have the basic data needed to provide directions.
Bing maps can provide directions in Oman so you may need to switch to their service.

Rossko

unread,
Dec 29, 2011, 6:37:34 AM12/29/11
to Google Maps JavaScript API v3
> I need to find any solution using google maps

I do not know of a workaround to get Directions from Google, where
Google does not support Directions.

You could create your own route network database and run your own
routing engine on it, and display your own results on Google map.

People are doing this kind of thing with OpenStreetMap, but I don't
know if OSM covers Oman very well. Example
http://www.yournavigation.org/index.php

davie

unread,
Dec 29, 2011, 9:39:27 AM12/29/11
to Google Maps JavaScript API v3
Hi
As geonames shows only 5 cities in Oman you could use polylines
between these.
http://www.doogal.co.uk/polylines.php could be used for this

Regards Davie
Reply all
Reply to author
Forward
0 new messages