'Streamlit app to chat with Google Maps using Google AI for developers'
🗺️ Chat Google Maps with AI A Streamlit App to Chat with Gemini + Visualize Locations on Google Maps
This project is an interactive Streamlit application that combines:
✅ Google Gemini AI ✅ Google Maps (Satellite Tiles) ✅ Reverse Geocoding (OpenCage API) ✅ Interactive Folium Map
The app allows you to:
Search locations and instantly update the map
Click anywhere on the map to read coordinates
Ask Gemini questions such as “Best restaurants near this point”
Automatically query Google Maps using AI tools
Display AI responses inside a scrollable black dialogue box
🚀 Features 🔍 1. Search Places
Enter a location (e.g., New Delhi) and update the map using OpenCage Geocoder.
🖱️ 2. Click on Map
Click any point on the interactive map to grab latitude and longitude.
🤖 3. AI-Powered Chat
Ask Google Gemini:
“Best hotels near this location” “What tourist attractions are close?”
Gemini fetches results using Google Maps Tool API.
🧾 4. Scrollable Response Box
All Gemini responses appear inside a dark themed scrollable box, perfect for long outputs.
🗺️ 5. Google Satellite Map
A high-quality satellite layer is loaded through Folium tiles.
Requirements:
OpenCage API Key-(https://aistudio.google.com/)
Google AI Studio API Key-(https://opencagedata.com/)