Welcome! Log In Create A New Profile


[WD 22] Mapping Tool Gmap

Posted by Stefan F. 
[WD 22] Mapping Tool Gmap
March 10, 2020 10:06AM
Hello everyone,
is there someone here who successfully used the DLL Gmap.net with Windev?

Or is there kindly someone who dares to do that and implement a 20-line VB source Code
in Windev. I would like to understand it.

I would send the DLL's by Email.


VB Source:

Imports GMap.NET.MapProviders

Imports GMap.NET.MapProviders.BingMapProvider 'Muss nicht unbedingt importiert werden

Imports GMap.NET

Imports GMap.NET.WindowsForms.Markers

Imports GMap.NET.WindowsForms.ToolTips

Imports System.IO

Imports System.Runtime.Serialization

Public Class Form1

Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

'Konfigurieren Der Anzeige

GMapControl1.MapProvider = GMapProviders.BingMap 'Nach GMapProviders gibt es eine Auswahl von Maps,ich hab als Beispiel die BingMap genommen.

GMapControl1.SetCurrentPositionByKeywords("Deutschland") 'Hier könnt Ihr zwischen den zwei Anführungsstrichen,eine Stadt oder ein Land eingeben.

GMapControl1.MinZoom = 3

GMapControl1.MaxZoom = 17

GMapControl1.Zoom = 5

GMapControl1.Manager.Mode = AccessMode.ServerAndCache

End Sub

End Class


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.