Thread: [SailfishOS] Pure Maps
View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#887
Originally Posted by spag View Post
I agree it seems to be easier for this to be implemented in the plugin as it would not requite changing anything in the main program.

But I haven't used the POI API yet so it's not entirely clear if or how the results of both API calls can be combined.
Will have to do some more testing I guess.
I had a quick look into POI API and it does have some interesting aspects. For example, it supports autocomplete and looks for names as well as types while you type (if I figured it right). Which is a good idea and may help me with unifying search and nearby functionality. I will just have to think how to use it properly and hook it into the main logic.

So, after sleeping on it, I would suggest to have geocoder API as it is and POI separate, for HERE as well. For POI, it should be API that is restricted to current plugin hooks - aka no autocomplete as for now. When it all lands in master, I will look into how to add autocomplete and unify the search with nearby functionality. It may require few iterations, but I think we will get there and without temporary hacks.
 

The Following 8 Users Say Thank You to rinigus For This Useful Post: