how can I bind datagridview column to tooltip.text using gmap.net

Topics: Windows Forms
Jul 9, 2013 at 9:41 AM
I have a datagridview which have client name lat,long. I am able to point out all markers on map from datagridview but I want to display client name on marker tootltip text from datagridview.
 while (myReader.Read())
                {
                    string Latitude = myReader["Latitude"].ToString();
                    string Longitude = myReader["Longitude"].ToString();
                    gMapControl1.Position = new PointLatLng(float.Parse(Latitude), float.Parse(Longitude));
                    GMarkerGoogle marker = new GMarkerGoogle(gMapControl1.Position, GMarkerGoogleType.red);
                    markersOverlay.Markers.Add(marker);
                    gMapControl1.Overlays.Add(markersOverlay);
                    marker.ToolTip = new GMapRoundedToolTip(marker);
                   marker.ToolTipText = this.dataGridView1.Columns[4].ToString;

                }
            }
Jul 11, 2013 at 7:04 PM
and?
Jul 12, 2013 at 10:04 AM
Radio man, you are star.. I like this Gmap Its been very useful for me as this is my first project Its really getting interesting to learn new things. Now its time to play with some animations in gmap.net like zooming to markers automatically and is there anyway to display all markers to the nearest zoom level when it loads.
You are brilliant........MY 5............
Jul 12, 2013 at 10:36 AM
map.ZoomAndCenterMarkers
Jul 12, 2013 at 10:54 AM
thanks radioman..

I have the following error now..when using hybrid maps

The type or namespace name 'GoogleHybridMap' does not exist in the namespace 'GMap.NET.MapProviders' (are you missing an assembly reference?)