DanielBarnett714 / Acastus

A completely free and open source Address and POI lookup application for android.
GNU Lesser General Public License v3.0
29 stars 15 forks source link

How do I link Acastus with OsmAnd+? #2

Closed icheyne closed 8 years ago

icheyne commented 8 years ago

The app description says that I can open OsmAnd from the search results, but I cannot see how to do this. Now it opens Google Maps and there is nothing relevant on the settings page.

DanielBarnett714 commented 8 years ago

You need to have OsmAnd installed. If it is installed and it's automatically opening to google maps that means you have google maps set as the default maps app. Go to Settings > Apps > Google Maps and clear defaults. Acastus works by opening up a geolink. So any app that can open a geolink will work with Acastus. When Google maps opens the geolink for some reason they don't have a dropped pin showing you where it is... really strange since most maps apps do. Maybe I could make it so it won't open the link in google maps since it is confusing to users. I'll have to look in to it. Thanks, Daniel

icheyne commented 8 years ago

Thank you! Now it works nicely.

It would be more usable if Acastus asked you for your preferred mapping app.

Why is OsmAnd's inbuilt search functionality so bad?

DanielBarnett714 commented 8 years ago

It only uses OpenStreetMap for searches, while Acastus uses Mapzen Search, which utilizes and congregates several more data sources into an Elasticsearch database. The importing of the different data sources is handled by Pelias, and search/make API calls through the Pelias API.

As for choosing your maps application, as of right now it opens the intent as a basic geo link, so any app that can open a geo link will be able to intercept the intent. I will look it to having only specific apps, maybe by having different options for uri generation. So maybe instead of geo you could choose maps.google.com or osm.org/go/ for example.

icheyne commented 8 years ago

Thanks Daniel. It works well now. I searched and it asked which mapping app I wanted to open. 👍