GMap.NET.WindowsForms.Markers

Oct 15, 2013 at 2:00 PM
In the marker if you use a bitmap object, the position on the map is incorrect, the marker is positioned farther than if you use GMap.NET.WindowsForms.Markers.

Could tell me what happens?

Thanks you.


//- The marker position is incorrect in the map
GMarkerGoogle ObjMarker = new GMap.NET.WindowsForms.Markers.GMarkerGoogle(
                               new GMap.NET.PointLatLng(this.m_dblLatitud, this.m_dblLongitud),
                                GMap.NET.WindowsForms.Markers.GMarkerGoogleType.blue_dot);
//- The marker position is not incorrect in the map
Bitmap ObjBitmap = new Bitmap(strPath,true);
GMarkerGoogle ObjMarker = new GMap.NET.WindowsForms.Markers.GMarkerGoogle(
                               new GMap.NET.PointLatLng(this.m_dblLatitud, this.m_dblLongitud),
                               ObjBitmap;