Home » Free download » How to Use Gds GoogleMap v8.0.0.0 to Integrate Google Maps into Your .Net Desktop Applications

How to Use Gds GoogleMap v8.0.0.0 to Integrate Google Maps into Your .Net Desktop Applications

How to Use Gds GoogleMap v8.0.0.0 to Integrate Google Maps into Your .Net Desktop Applications

Gds GoogleMap v8.0.0.0 is a .Net User Control that allows you to easily add interactive Google Maps to your desktop applications. With Gds GoogleMap, you can display customized geographic data on top of Google Maps and perform various operations and computations based on the map data. Gds GoogleMap supports different types of map layers, such as markers, icons, polylines, polygons, circles, rectangles and heatmaps. You can also customize the appearance and behavior of each layer and its elements, such as clustering, highlighting, dragging and editing.

In this article, we will show you how to use Gds GoogleMap v8.0.0.0 to create a simple desktop application that displays some locations on a Google Map. We will use Visual Studio 2019 and C# as the programming language.

Step 1: Install Gds GoogleMap v8.0.0.0

To install Gds GoogleMap v8.0.0.0, you need to download the installer from https://www.gdsgooglemap.com/ and run it on your computer. You can choose between three editions: Gds GoogleMap WinForms, Gds GoogleMap WPF and Gds GoogleMap UWP. For this example, we will use Gds GoogleMap WinForms.

After installing Gds GoogleMap v8.0.0.0, you will find a new tab called “GDS” in your Visual Studio toolbox. You can drag and drop the “GDSGoogleMap” control from the toolbox to your Windows Form.

Step 2: Set up the GDSGoogleMap control


Step 1: Install Gds GoogleMap v8.0.0.0

After adding the GDSGoogleMap control to your form, you need to set some properties to configure it. You can do this either in the Properties window or in the code behind.

The most important property is the “ApiKey”, which is required for using the Google Maps API. You can get your own API key from https://developers.google.com/maps/documentation/javascript/get-api-key. You need to enable the “Maps JavaScript API” and the “Geocoding API” for your project.

Another property that you may want to set is the “InitialCenter”, which determines the initial center point of the map when it loads. You can specify the latitude and longitude coordinates of any location in the world.

You can also set other properties such as “InitialZoom”, “InitialType”, “InitialStyle”, “InitialHeading” and “InitialTilt” to customize the initial appearance of the map.

Step 3: Add map layers and elements

Now that you have set up the GDSGoogleMap control, you can start adding map layers and elements to it. You can do this either in the designer or in the code behind.

To add a map layer, you need to create an instance of one of the layer classes provided by GDSGoogleMap, such as GDSPinLayer, GDSIconLayer, GDSPolylineLayer, GDSPolygonLayer, GDSCircleLayer or GDSRectangleLayer. Then you need to add it to the “Layers” collection of the GDSGoogleMap control.

To add an element to a map layer, you need to create an instance of one of the element classes provided by GDSGoogleMap, such as GDSPinMarker, GDSPinIconMarker, GDSPolylineElement or GDSPolygonElement. Then you need to add it to the “Elements” collection of the map layer.

For example, if you want to add a marker layer with three markers on it, you can write something like this:

// Create a marker layer
GDSPinLayer markerLayer = new GDSPinLayer();
markerLayer.DisplayName = "Marker Layer";

// Create three markers
GDSPinMarker marker1 = new GDSPinMarker(40.7128,-74.006,"New York","The Big Apple");
GDSPinMarker marker2 = new GDSPinMarker(

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*