A little bit of background: @David during the development of his awesome Manipur Go app asked how to open Google Maps to navigate to a specific location. It seemed like a good challenge, so I jumped right in. Once that was done, I implemented a location picker, and that gave rise to NavDemo. This code was adapted by David, and he says others might find this useful, so here I am.
Features:
Picker:
Google Maps-based location picker.
Auto-centering on user on initialization.
Click to add marker (and hence pick location).
Hold and drag marker to adjust location.
Auto-centering on a moving marker.
Navigator:
Navigate to coordinates.
Navigate to an address.
Opens navigation route in Google Maps.
Route is opened in a browser if Google maps is not installed on the device.
Note:
The Navigator works even if Google Maps is not installed on the device, but the Picker will cause a runtime error on Init if the app is not installed. The Navigator and Picker are independent, so you can choose to remove the Picker if you want to prevent errors at all costs.
The template is offered with no strings attached. However, I would love to know of apps that utilize it (like David’s app ). A mention in your app’s About or Acknowledgements would be appreciated.
Why? I mean why you want to make money with other people work? Just invest your time, experience all the difficulties that the original developer suffered, enjoy the happiness of your own developed product and then add those least important Ads in your work to make money.
What do you get in adding ads in other people work? Just for some easy cash? I don’t understand this.
Instead just think that you have learnt something new and that also because the original developer shared his work. Remember when ever anyone here share something for free, he/she is also sharing his/her’s precious time consumed working on that work. So just respect it.
And btw great work @Kanishka_Developer. This will prove useful for many other user in their projects. Thanks for sharing your time and work