- 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
20 lines
802 B
PowerShell
20 lines
802 B
PowerShell
# PowerShell script to set Google Maps API key environment variable
|
|
# Usage: .\set-api-key.ps1 -ApiKey "your_actual_api_key_here"
|
|
|
|
param(
|
|
[Parameter(Mandatory=$true)]
|
|
[string]$ApiKey
|
|
)
|
|
|
|
# Set the environment variable for the current session
|
|
$env:GoogleMapsApiKey = $ApiKey
|
|
|
|
# Also set it for the current PowerShell session
|
|
[Environment]::SetEnvironmentVariable("GoogleMapsApiKey", $ApiKey, "Process")
|
|
|
|
Write-Host "Google Maps API Key set to: $ApiKey" -ForegroundColor Green
|
|
Write-Host "You can now build the app with: dotnet build -f net9.0-android" -ForegroundColor Yellow
|
|
Write-Host ""
|
|
Write-Host "Note: This environment variable is only set for the current session." -ForegroundColor Cyan
|
|
Write-Host "To make it permanent, add it to your system environment variables." -ForegroundColor Cyan
|