Skip to content

moumen7/Map_picker

Repository files navigation

Offline Country Highlighter android.

Click any country from map and the country gets highlighted.

Project Description.

An android tool built with Kotlin language. Pick any country and the country gets highlighted. A toast shows with the Clicked country's Alpha-2 code.


2 steps

  • Reverse geocoding the clicked position to know the clicked country.
  • Highlighting the country.

Reverse geocoding

I used this great repo for reverse geocoding offline, It is the best that I found. Google maps reverse geocoding often takes time and doesn't work offline.

Highlighting the country.


Works Offline after the map gets cached.


Short Demo.


Important notes.

  • Dominican republic's Alpha-2 code is 'do', Which isn't permitted to be stored as file. So the file's name changed to 'doo'
  • Another version which uses nomination api.
  • The results are not always accurate, Since the coordinates downloaded used are mid res.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published