Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Automatically detect regions #118

Open
axet opened this issue Nov 14, 2019 · 2 comments
Open

Feature Request: Automatically detect regions #118

axet opened this issue Nov 14, 2019 · 2 comments

Comments

@axet
Copy link

axet commented Nov 14, 2019

Hello!

Seems like cool app with out an important feature - automatically detecting what region / country I'm currently in. It helps a lot on first start, when I have to find correct country and region manually. Especially when openstreetmaps has it's own region separation, choosing correct region is problematic (or it can have a quick search at download activity at least).

As I understand openstreetmaps has *.poly files, for every global map region, knowing which region corresponds to what map can automate map download (and further ).

Another maybe: allowing to choice smaller regions of 60mb to download, instead full central fed district of 800MB size.

@Starcommander
Copy link
Collaborator

Hello @axet !

Thanks for your request.
PocketMaps is mostly an offline-tool, so after downloading a map, you do not need an internet connection for routing and navigation.
Therefore I have to recreate all maps, and offer them on a specific server.

In a first step my suggestion is to implement a quick search for maps.
This is not much effort for me, and can help to find the requested map faster.

In a second step later I can try to implement an auto-detection function using that poly-files you suggested.

What do you think?

@axet
Copy link
Author

axet commented Nov 17, 2019

I guess I can remind about default android search activity/toolbar feature. It has to be done (easiest and native method) trough adding in manifest.xml for searching activity:

            <meta-data
                android:name="android.app.searchable"
                android:resource="@xml/searchable" />

Here is original link:

Since I had few issues with default android search and it's behaviour, I created my own SearchView, if you face any issues with default SearchView you can check mine:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants