Skip to content

its-me-debk007/ola-maps-sdk-demo

Repository files navigation

OlaMaps SDK Demo

Trying out the OlaMaps Android SDK

Note

Ola Maps v1.0.68 is being used in this project. The code implementation may change if a newer version is released

Getting Started 👣

  • Clone the repo

  • Add your CLIENT_ID and CLIENT_SECRET in local.properties:

    CLIENT_ID=abc123
    CLIENT_SECRET=abc123
    API_KEY=abc123
    
  • Go to Build -> Clean Project

  • Ensure your device has Location enabled

  • Uninstall any existing version of the app

  • Run the app

Features ✨

  • access token valid for 60 minutes. Implemented logic to auto-refresh token when expired or absent
  • Implemented some features that are not even included in official documentation
  • Jump to current location with a button click
  • An Info card (called HuddleMarkerView) for current location
  • Choose location by search or tap on the map
  • Get directions from current location to chosen destination

Note

This is an ongoing project, and I'm exploring more features available in the OlaMaps SDK

Demo

OlaMaps.Demo.mp4

Note

Map not rendering on Emulator? Try real device

License

Distributed under the MIT License. See LICENSE file for more information.

🌟 If you find value in this project, please consider starring it! Your support keeps it thriving. 🚀

About

Trying out the Ola Maps Android SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages