Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shwetachauhan18/googleplacesautocomplete

GooglePlacesAutoComplete is a small kotlin demo for auto search in google map.🎉✨
https://github.com/shwetachauhan18/googleplacesautocomplete

address android android-kotlin autocomplete-search city demo google google-maps google-maps-api googleplaces kotlin kotlin-android place-autocomplete sample search

Last synced: 3 months ago
JSON representation

GooglePlacesAutoComplete is a small kotlin demo for auto search in google map.🎉✨

Awesome Lists containing this project

README

        

# README #

# GooglePlacesAutoComplete

[![Kotlin Version](https://img.shields.io/badge/Kotlin-v1.7.20-blue.svg)](https://kotlinlang.org)
[![Platform](https://img.shields.io/badge/Platform-Android-green.svg?style=flat)](https://www.android.com/)
[![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21)

Getting Started
------------------------
`GooglePlacesAutoComplete` is a small kotlin demo for auto search in google map.

How to get started
------------------------
In MainActivity "Places.initialize(this, "GOOGLE_MAPS_KEY")", replace your google map key here "GOOGLE_MAPS_KEY".

TypeFilter
------------------------
- ADDRESS 📍,
- CITIES 🌆 ,
- ESTABLISHMENT ✨ ,
- GEOCODE 🎯 ,
- REGIONS 🇮🇳

##### Change this filter :
- open MapExtention File
- getAutocomplete Method
- setTypeFilter(TypeFilter.CITIES)

# 🎬 Preview

| TypeFilter.ADDRESS | TypeFilter.CITIES |
|--|--|
| ![](https://github.com/ShwetaChauhan18/GooglePlacesAutoComplete/blob/master/images/google_place_address.gif) | ![](https://github.com/ShwetaChauhan18/GooglePlacesAutoComplete/blob/master/images/google_place_city.gif) |

## Find this sample useful? ❤️
Support it by joining __[stargazers]__ for this repository.⭐

[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax)

[stargazers]: