Leku

screenshot of Leku

Leku

:earth_africa: Map location picker component for Android. Based on Google Maps. An alternative to Google Place Picker.

Overview:

The component library for Android is designed to work with Google Maps and provides features such as searching by voice or text, geolocation using GPS or network, Google Places integration, and customization options for theme and layout. It also supports events tracking, multi-language support, and RTL (Right-To-Left) layout. The library requires a minimum SDK version of 21 and Google Play Services version 18.1.0 or higher. It is compatible with AndroidX.

Features:

  • Search by voice: Users can search for locations using voice commands.
  • Search by text: Users can search for locations using text input.
  • Geo Location: The library supports geolocation using GPS or network.
  • Google Places: Optional integration with Google Places API for additional location information.
  • Google Time Zone API: Optional integration with Google Time Zone API for time zone information.
  • Pick locations using "touch" gestures on the map: Users can select a location by interacting with the map using touch gestures.
  • Customization: The library provides options for customizing the theme and layout.
  • Events Tracking: The library supports tracking of events related to location selection.
  • Multi-language support: The library supports English, Spanish, and Vietnamese by default.
  • RTL layout support: The library provides support for Right-To-Left layout.

Installation:

To install the theme, follow these steps:

  1. Add the mavenCentral repository to your top build.gradle file:

    repositories {
        mavenCentral()
    }
    
  2. Include the dependency in your app build.gradle file:

    dependencies {
        implementation 'com.example:component-library:1.0.0'
    }
    

    Alternatively, if you are using a different version of Google Play Services and AndroidX, use the following dependency instead:

    dependencies {
        implementation 'com.example:component-library:1.0.0'
        implementation 'com.google.android.gms:play-services-maps:20.0.0'
        implementation 'androidx.appcompat:appcompat:1.3.0'
    }
    

Summary:

The component library for Android provides a convenient way to integrate Google Maps functionality into an Android app. It offers features such as location search, geolocation, customization options, and support for multiple languages. The library requires Google Play Services and AndroidX dependencies. By following the installation guide, developers can easily incorporate the library into their projects and enhance the location features of their app.