SetCurrentPositionByKeywords and GetPlacemarkFromGeocoder don't work

Topics: Help
Sep 30, 2011 at 10:33 AM

I need help!

I'm using GMap.NET.Core.dll and GMap.NET.WindowsForms.dll (downloaded from this site two days ago...)
and all work fine, except when I try to find a location (city, country ...) with SetCurrentPositionByKeywords.
I always receive unknown and I can't find any place in the world.

Also GetPlacemarkFromGeocoder function doesn't work...

Another indication: I'm in Italy. Is it a problem? I have to do a particular configuration?

This is my vbnet code:

Me.cntMainMap.MapType = GMap.NET.MapType.BingMap
Me.cntMainMap.MinZoom = 3
Me.cntMainMap.MaxZoom = 17
Me.cntMainMap.Zoom = 4
Me.cntMainMap.Manager.Mode = GMap.NET.AccessMode.ServerOnly

Me.cntMainMap.CanDragMap = True
Me.cntMainMap.DragButton = Windows.Forms.MouseButtons.Left

Dim overlayOne As New GMap.NET.WindowsForms.GMapOverlay(Me.cntMainMap, "OverlayOne")


Someone can help me?


Sep 30, 2011 at 10:44 AM

use hot build, lats release is quite old

Sep 30, 2011 at 11:02 AM

Ok, I find it, but MapType ?
Is it deleted?

How do you substitute it?

Sep 30, 2011 at 12:23 PM

MainMap.MapProvider = GMapProviders.GoogleMap;

Sep 30, 2011 at 1:10 PM