Skip to content

maddylaneeee/KelownaMapMlccs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KelownaMapMlccs

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.

Features

  • 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.

Requirements

  • Windows 10 or later.
  • .NET 9 SDK for building from source.
  • Microsoft Edge WebView2 Runtime.

Build and Run

Restore dependencies and run the project:

dotnet restore
dotnet run

Create a Windows x64 release build:

dotnet publish -c Release -r win-x64 --self-contained false

The published app will be written under bin/Release/net9.0-windows/win-x64/publish/.

Project Structure

  • Program.cs starts the Windows Forms application.
  • MainForm.cs configures 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.

Map Data

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.

License

This project is licensed under the MIT License. See LICENSE for details.

About

Windows desktop map viewer for Kelowna built with .NET Windows Forms, WebView2, and Leaflet.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors