Thread: [SailfishOS] WhoGo Maps
View Single Post
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#112
Originally Posted by rinigus View Post
Its a job of search provider, not map client. However , you probably have some place in a city to go to , why don't you enter that? I'll try to remember it when I get to work on search .
There have been a number of occasions when I was not navigating to any specific place, just a general area "somewhere around the centre".

Who runs the heuristics and makes assumptions depends on the agreed interface, does it not? You can have a dumb client and a smart server or the other way around. I am mostly leaning towards a dumb server and rely on the client to formulate the query properly. It makes for a more flexible design as the server can be more easily reused in different clients, but it's up to you.

Regarding the "geo:x.xxx,y.yyy" notation, it seems to work after all but only for positive numbers. "geo:55,1" works fine, "geo:55,-1" gives "no results". It must be a limitation on the input field because all destinations I've tried so far have been on the western hemisphere with negative longitudes and they all worked fine, so the backend must be alright.

EDIT: I see we cross-posted. Kewl. Thanks for answering.
__________________
Русский военный корабль, иди нахуй!
 

The Following 4 Users Say Thank You to pichlo For This Useful Post: