Phoca maps not showing exact location

Phoca Maps - displaying maps in Joomla! CMS
vanaja
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 20 Apr 2012, 11:31

Phoca maps not showing exact location

Post by vanaja »

Hi,

When I tried to get the route by entering From(address) and selecting to address, the directions are shown but the 'from(start)' address and the 'to(address)' are taken by default which is not the exact location as given while adding the markers address.

Please tell us the solution for this as early as possible.

Thanks.........
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca maps not showing exact location

Post by Jan »

Hi, see other similar posts, routes, points, etc. are fully managed by Google Maps API, so this should be more a question on Google Maps API developer than on Phoca Maps :-( :idea:

Jan
If you find Phoca extensions useful, please support the project
Wiciu87
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 12 Jan 2010, 19:24

Re: Phoca maps not showing exact location

Post by Wiciu87 »

Hello,
I've read about possible API errors but please look at my example
At my site the route is shown few km aside the destination, not mentioning its in totally different direction:
http://agroturystyka-roztocze.xcl.pl/kontakt

while on maps.google.com
it look like this:
http://maps.google.com/maps?saddr=sosno ... s&t=m&z=13

so can anbody tell me where's the problem? The component reacts the same on j1.5 and 2.5
best regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca maps not showing exact location

Post by Jan »

Hi, in fact, I cannot give any advice there, Phoca Maps only creates javascript to display maps by Google Maps API, but it never does the rendering of the map, route, markter, etc. :-(
If you find Phoca extensions useful, please support the project
nycreate
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 10 Aug 2011, 21:37

Re: Phoca maps not showing exact location

Post by nycreate »

Also suffering from this.. routing fine on googlemaps website, but in comp routed marker location is a few km away from actual marker for which directions have been requested.. anyone know how we can sort this? Not good for customer if directions are to wrong place. :x
I know its not the components fault as there are others out there with similar problems...
http://stackoverflow.com/questions/5671 ... d-point-re

Thanks in advance.
nycreate
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 10 Aug 2011, 21:37

Re: Phoca maps not showing exact location

Post by nycreate »

Digging into this a bit deeper it seems like there has been a known issue with routing with GM api V3 for quite a while. There are loads of questions out there and even on google's own forums but no answers. Rolling back to GM api V2 seems to fix the issue.
Post Reply