tampasraka.blogg.se

Magic maps tutorial
Magic maps tutorial










magic maps tutorial

You’ll find the required assemblies by clicking Browse… and selecting the DLL. To add the control to your Toolbox, right-click the Toolbox and select “Choose Items.” (Of course, you could simply instantiate the GMapControl from your code without ever adding it to your Toolbox, but then you would miss out on setting the control’s properties conveniently through the Properties panel). Since GMap.NET is a user control, you can add it to your Toolbox. This will allow your code to access GMap.NET’s classes. Place them in a subfolder of your project, and add a reference to both. In your GMap.NET download, you will find DLLs named and.

magic maps tutorial

Setting upįirst, create a new C# Windows Forms project in Visual Studio 2010.

#Magic maps tutorial how to

Note that we have more tutorials up on how to add routes to GMap.NET, calculating the area of a polygon in GMap.NET, and removing the red cross from a map in GMap.NET.ĭownload the GMap.NET library here (the so-called “hot build” from 2013 – the latest stable release is from 2011 and had some problems for me). We have a fresh GMap.NET tutorial about maps, markers, polygons and routes that’s updated for Visual Studio 2015 and GMap.NET 1.7! IMPORTANT: You are currently reading our old tutorial. This text will explain how to place a map control on a form, how to initialize it to show the coordinates you want, how to add markers to it, and how to add polygons. The following is a tutorial for using the excellent GMap.NET control.












Magic maps tutorial