- Implemented OpenStreetMap using WebView with Leaflet.js - Added OpenStreetMapView component with interactive map functionality - Created heat map visualization with color-coded intensity - Added 30 dummy location points around San Francisco Bay Area - Implemented location tracking with real-time pin placement - Added comprehensive UI with two-row button layout - Features: Start/Stop tracking, Center map, Demo heat map, Clear demo, Reset map - Added location count display and confirmation dialogs - Updated project structure and documentation - All functionality tested and working on Android emulator
22 lines
665 B
Bash
Executable File
22 lines
665 B
Bash
Executable File
#!/bin/bash
|
|
# Bash script to set Google Maps API key environment variable
|
|
# Usage: ./set-api-key.sh your_actual_api_key_here
|
|
|
|
if [ $# -eq 0 ]; then
|
|
echo "Usage: $0 <api_key>"
|
|
echo "Example: $0 AIzaSyYourActualApiKeyHere"
|
|
exit 1
|
|
fi
|
|
|
|
API_KEY="$1"
|
|
|
|
# Set the environment variable for the current session
|
|
export GoogleMapsApiKey="$API_KEY"
|
|
|
|
echo "Google Maps API Key set to: $API_KEY"
|
|
echo "You can now build the app with: dotnet build -f net9.0-android"
|
|
echo ""
|
|
echo "Note: This environment variable is only set for the current session."
|
|
echo "To make it permanent, add this line to your ~/.bashrc or ~/.zshrc:"
|
|
echo "export GoogleMapsApiKey=\"$API_KEY\""
|