Get Directions Showing Wrong Address

Phoca Maps - displaying maps in Joomla! CMS
heather
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 15 Apr 2013, 17:40

Get Directions Showing Wrong Address

Post by heather »

Hello,

The marker has the correct latitude and longitude and is displaying the correct address. But when you go to get directions it's showing a different address. I pulled the latitude and longitude from google. I also tried entering the address and that didn't work. I'm not sure if having a "Suite 106" in the address is causing the issue.

If anyone has any information on this please let me know.

Thank You
Heather
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Get Directions Showing Wrong Address

Post by Jan »

Hi, unfortunatelly, locations are not managed by the component but directly by google maps api, so this is more a google developers question then the Phoca Maps. :idea: - what if you add the GPS coordinates, do you get the same problems?
If you find Phoca extensions useful, please support the project
Obelix2000
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Jun 2013, 11:22

Re: Get Directions Showing Wrong Address

Post by Obelix2000 »

Unfortunately this issue hasn’t been resolved yet by Google. Same problem here, using Phocamaps 3.0.

To see what is happening, you can do the folowing:
- I have searched for a location in Google Maps: Medjugorje in Bosnia-Herzegovina
- Right-click on the marker and choose "What is here"
- GPS coordinates are appearing: just press the search button again
- You can see: marker and destination are kilometers away from each other.

Google seems to misunderprete their own coordinates when used for directions.

In my opinion, the only workaround should be to enter an address as destination instead of coordinates. However, this ain’t possible in Phoca Maps. Do you have any other solution? ('Hardcoding' the destination address in the php-files of Phoca Maps?)

My native language is Dutch, I apologize for my bad English.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Get Directions Showing Wrong Address

Post by Jan »

Hi, in Phoca Maps, if you open the window in popup, there is a search input field, and there you can add the address as destination. Such way I do it - I am not adding coordinates but the address :idea:

Jan
If you find Phoca extensions useful, please support the project
Obelix2000
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Jun 2013, 11:22

Re: Get Directions Showing Wrong Address

Post by Obelix2000 »

Thanks, but the problem is: in Medjugorje there are no street names. You can only search for the name of the village (or use coordinates). But when you do so, the direction leads to a completely other destination. So the problem persists... I contacted Google about this issue.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Get Directions Showing Wrong Address

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply