Locus Map - forum

Support => Troubles & Questions => Topic started by: svartbjorn on September 28, 2011, 22:09:01

Title: "Share map center" shown on Google Maps with wrong position
Post by: svartbjorn on September 28, 2011, 22:09:01
The follwing is really weird in Google Maps:

 - I choose "Sharing map center"/"Insert coordinates as URL" and send it with email.
 - If open the email on my PC and click on the URL. Google  Maps displays the map center with a green arrow, but centers the map at a quite different location where a red marker is displayed with an address. By testing this seems to be the closest location where Google Maps can find a valid street address. That makes no sense if I share my position far out in the woods or in the mountains.
 - If I open the email on my mobile and choose Google Maps to show the position, Google Maps only displays the location with the red marker (which is the closest location with a street address.
 - If I open the email on my mobile and choose Locus to show the position, Locus shows the correct location I shared.

So Locus seems to send the correct coordinates, but Google Maps tries to map that to a valid street address. I can't find any setting in Google Maps to control this.
However, if I send my position with another GPS program, the link sent looks dofferent:

Locus link: http://mapof.it/h/xxxxxx (http://mapof.it/h/xxxxxx)
Another GPS program: http://maps.google.com/maps?q=loc:xxx,yyy (http://maps.google.com/maps?q=loc:xxx,yyy)

Does this explain why the position sent is interpreted differently? If so, the Locus way of sending the location should be changed to the other approach.
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: svartbjorn on October 03, 2011, 09:34:15
Menion - any ideas?
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: menion on October 03, 2011, 09:55:11
hmm forget to answer ...

I'm using "geohash" to create url on map point and then server http://mapof.it (http://mapof.it) that allow to use this geohash directly. Nice feature I think. Short url, fast to create and also not directly attached to google maps. Anyway as you mentioned ... some place issue. Problem is that google maps support many url values like as you wrote ?q= but also some ?ll= and few more. Every show result in different way and using ?q=, seems to display data in behavior you mentioned. But interpreting data to ?q= format, do mapof.it server and not my url. So if I want use geohash url syntax, there is no other way.

Solution should be to use own direct web url to some map. Question here is ... why you care a lot about it? All softwares and apps except mobile GMaps opens data correctly right?
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: svartbjorn on October 03, 2011, 10:37:40
Quote from: "svartbjorn"
Question here is ... why you care a lot about it? All softwares and apps except mobile GMaps opens data correctly right?

I often send my position to friends. Opening the link in Google  Maps would be the natural way for most people. What else would they use? So this is actually important. I now have to use other apps like MyPosition or GPS Status to send my position. That's a pity. Would it be possible to choose the url syntax? E.g. today the command is "Share map center" > + > "Insert coordinates as URL". May be you could add another line saying "Insert coordinates as Google Maps URL"? Or would that create a problem with mapof.it?
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: menion on October 03, 2011, 10:55:24
nono no problem, I'll look at it .. do you need it till you vacation? eh .. I'll look at it now, till I forget it :)

EDIT: do you know (or do you have already tested) some perfectly working url syntax to google maps?
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: stebu on October 03, 2011, 11:47:39
Hi
You mean like:
http://maps.google.com/maps?q=N+60.2222+E+24.8888 (http://maps.google.com/maps?q=N+60.2222+E+24.8888)
http://maps.google.com/maps?q=N+60%c2%b ... 44+%28some (http://maps.google.com/maps?q=N+60%c2%b0+14.826+E+024%c2%b0+59.044+%28some) text%29
They seem to work.
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: svartbjorn on October 03, 2011, 12:20:40
Menion - no hurry. This is not urgent at all. Just this Locus feature is great, so it should work with such a key app as Google Maps.
I have not tested url syntax. But you could verify with the apps I mentioned - "GPS Status & Toolbox" and MyPosition. Both of them use a syntax that shows the correct position on Google Maps.
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: menion on October 03, 2011, 14:11:21
ok, so try this test (Free) version please and let me know if this format fits your needs ...
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: svartbjorn on October 03, 2011, 14:58:39
Sorry, but same problem. The location shown on Google Maps is far from my sent position. GMaps shows the closest location is can find with a street address.

You can easily recreate the issue by moving map center to a point out in the wilderness with no streets around. Send it to yourself and display it in GMaps.
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: menion on October 03, 2011, 15:35:10
hmm fine, so new way probably found
check these ...
http://maps.google.com/maps?q=locus@50.0,15.0 (http://maps.google.com/maps?q=locus@50.0,15.0)
and
http://maps.google.com/maps?q=50.0,15.0 (http://maps.google.com/maps?q=50.0,15.0)

so first seems to be correct way, implemented ...
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: svartbjorn on October 03, 2011, 15:58:42
Exactly. The first one is correct. The second one is how I get it. I'll be busy until late tonight, so you know in case you want me to test something.
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: menion on October 03, 2011, 16:04:55
no more testing needed, thanks. This is working and it's too simple to test. I'll release new version at the end of week (depend on speed of new maps generating - so I hope it will be done till end of week)
Title: Re: "Share map center" shown on Google Maps with wrong posit
Post by: dag0 on April 09, 2012, 00:12:39
I would apreciate having the ability to choose between these url-formats when sharing the coordinates of a poi too! :) Would this be possible?