KelownaMapMlccs is a Windows desktop map viewer for Kelowna, British Columbia. It packages a Leaflet-based web map inside a .NET Windows Forms application using Microsoft Edge WebView2.
The app is designed for quick local viewing of Kelowna basemaps, historical orthophoto layers, and location tools without requiring a separate web server.
- Embedded Leaflet map interface served from local application resources.
- City of Kelowna basemap and historical orthophoto layer selector.
- OpenStreetMap reference layer.
- WebView2-hosted desktop shell with local browser data storage.
- Geolocation permission handling for map location features.
- Windows 10 or later.
- .NET 9 SDK for building from source.
- Microsoft Edge WebView2 Runtime.
Restore dependencies and run the project:
dotnet restore
dotnet runCreate a Windows x64 release build:
dotnet publish -c Release -r win-x64 --self-contained falseThe published app will be written under bin/Release/net9.0-windows/win-x64/publish/.
Program.csstarts the Windows Forms application.MainForm.csconfigures WebView2, writes embedded map assets to a local web root, and opens the map view.Assets/contains the embedded HTML, JavaScript, CSS, icon, and image assets used by the application.
KelownaMapMlccs references public map services from the City of Kelowna and OpenStreetMap. Availability, terms, and performance of those external map services are controlled by their respective providers.
This project is licensed under the MIT License. See LICENSE for details.