O'Reilly logo

Leaflet.js Essentials by Paul Crickard III

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required