Desktop applications in C# with Leaflet

Leaflet is used in a web page; however, with C#, you can embed a web browser in a Windows form to create what appears to be a desktop application. The examples in this section will show you how to add a map to a C# application, add a point by calling a JavaScript function from C#, and show you how to connect to MongoDB in C# and display the results on the map.

Adding a map to a C# application

To build an application in C#, you will need to install Microsoft Visual Studio Express. You will need at least Visual Studio C# 2010. You can download it at http://www.visualstudio.com/downloads/download-visual-studio-vs. This program is a slimmed-down version of the commercial Visual Studio. It allows you to rapidly ...

Get Leaflet.js Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.