# City-Only Autocomplete Search Without Using Google APIs?

**URL:** <https://forum.bubble.io/t/city-only-autocomplete-search-without-using-google-apis/351622>\
**Category:** Need help\
**Created:** [December 10, 2024, 9:46pm UTC](https://forum.bubble.io/t/city-only-autocomplete-search-without-using-google-apis/351622 "2024-12-10T21:46:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon82359038](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@anon82359038](https://forum.bubble.io/u/anon82359038)\
**Post date:** [December 10, 2024, 9:46pm UTC](https://forum.bubble.io/t/city-only-autocomplete-search-without-using-google-apis/351622/1 "2024-12-10T21:46:57Z")

</div>

Hello Bubble community,

I’m working on an app where users need to select cities as part of their search filters and profile setup. However, I am facing some challenges:

1. **Specific Requirement:**

- I only need cities to appear in the autocomplete suggestions.
- No streets, states, or other regions — strictly cities only.

1. **Limitations with Current Setup** :

- I’m currently using Bubble’s native SearchBox element, which integrates with Google Maps. However, it returns not just cities but also streets, states, and other locations.
- I cannot use the Google Maps API due to restrictions with my billing setup, and alternative services are proving difficult to integrate.

1. **Attempts So Far** :

- I’ve explored plugins like Leafy Maps and Mapbox but couldn’t achieve a city-specific autocomplete functionality without embedding a map (which I don’t need).
- I also considered uploading a CSV of cities into Bubble’s database, but managing and maintaining such a large dataset seems impractical.

### **The Ask** :

Does anyone know of a plugin, API, or workaround that can provide a clean, user-friendly autocomplete feature for cities only? Ideally, it should:

- Exclude other location types like streets or postal codes.
- Work without requiring Google APIs.
- Be easy to implement and maintain.

Any guidance, suggestions, or shared experiences would be highly appreciated!

---

<div class="post-metadata">

**Author:** ![krenkel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/krenkel/32/213647_2.png) [@krenkel](https://forum.bubble.io/u/krenkel)\
**Post date:** [December 10, 2024, 10:32pm UTC](https://forum.bubble.io/t/city-only-autocomplete-search-without-using-google-apis/351622/2 "2024-12-10T22:32:53Z")

</div>

Hi, @anon82359038, I found a link that might give you some ideas, at the end of it there is a plugin mentioned. Here is the link: [Como posso mostrar o código postal e o nome da cidade dinamicamente - Precisa de ajuda / Plugins - Fórum Bubble](https://forum.bubble.io/t/how-can-i-show-postal-code-and-city-name-dynamically/122678/11)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [February 18, 2025, 9:47pm UTC](https://forum.bubble.io/t/city-only-autocomplete-search-without-using-google-apis/351622/3 "2025-02-18T21:47:50Z")

</div>

Closed on February 18, 2025, 9:47pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
