Allocating markers using address instead of lat/lng

Topics: Help
Mar 19, 2012 at 3:30 PM
Edited Mar 19, 2012 at 3:31 PM

Hi all,

I get the markers working with lat/lng, but I need it to working with the address itself.

This is the code I used:


GMapOverlay overlayOne = new GMapOverlay(wb_ConnectionMap, "OverlayOne");
            overlayOne.Markers.Add(new GMap.NET.WindowsForms.Markers.GMapMarkerGoogleRed(new PointLatLng(54.6961334816182, 25.2985095977783)));

Please any help would be appriciated!
Mar 19, 2012 at 4:03 PM

use geocoder provider functions

Mar 19, 2012 at 4:24 PM

yes but how? can u please give me an exaple. Please dont tell me to look at the source beacuse I did and it did not help thats why i'm here

Mar 19, 2012 at 4:28 PM

look again ;}

         GeoCoderStatusCode status = GeoCoderStatusCode.Unknow;
         PointLatLng? pos = GMapProviders.GoogleMap.GetPoint("Lithuania, " + place, out status);
         if(pos != null && status == GeoCoderStatusCode.G_GEO_SUCCESS)
            GMarkerGoogle m = new GMarkerGoogle(pos.Value,;
            m.ToolTip = new GMapRoundedToolTip(m);


Nov 3, 2013 at 10:36 PM
Edited Nov 4, 2013 at 3:00 PM
Dear radioman

GeoCoderStatusCode status = GeoCoderStatusCode.Unknow;
PointLatLng? p = GMapProviders.GoogleMap.GetPoint("istanbul",out status);

returns always null value, always and always. You have any idea?

Nov 5, 2013 at 3:45 PM
add breakpoint, and check
Nov 6, 2013 at 8:39 AM
I have a warning. Maybe this warning causes to this problem. The warning is "Warning 1 Unable to find dependency 'SYSTEM.DATA.SQLITE' (Signature='DB937BC2D44FF139' Version='') of assembly 'GMap.NET.Core.dll' "

P.S :I added breakpoint but could not found any way.

Nov 6, 2013 at 9:44 AM
press F11, goto function GetPoint, and check the code, i get GeoCoderStatusCode.G_GEO_SUCCESS, so it maybe be proxy issue or something for you
Nov 7, 2013 at 3:29 AM
I have received this code

"status G_GEO_SUCCESS GMap.NET.GeoCoderStatusCode" and
"pos null GMap.NET.PointLatLng?"

Nov 7, 2013 at 8:17 AM
check parsing code, maybe it's language related
Nov 7, 2013 at 4:55 PM
Dear Radioman

now I got exception like this "status ExceptionInCode GMap.NET.GeoCoderStatusCode"
How can I solve this problem?

thanx a lot for your patient and help
Nov 9, 2013 at 4:14 PM
Edited Nov 14, 2013 at 1:01 PM
Also I am using version 1.7, you have any idea??