Basically I want to draw a filled square and add it (and use it) as a marker to Gmap. I tried drawing a square and use it as a bitmap but it asks me for the x y coordinates and I don't know what values to put for that because the marker already uses lat/long. I am trying this but the position of the square is not right.I want to square to appear on the specified lat/long.
Bitmap flag = new Bitmap(50, 50);
gmap.MapProvider = GMap.NET.MapProviders.BingHybridMapProvider.Instance;
GMap.NET.GMaps.Instance.Mode = GMap.NET.AccessMode.ServerOnly;
Graphics fg = Graphics.FromImage(flag);
fg.FillRectangle(Brushes.Red, 100, 100, 50, 50);
GMapOverlay markerOverlay = new GMapOverlay(NametextBox.Text);
GMarkerGoogle marker = new GMarkerGoogle(new PointLatLng(-25.966688, 32.580528),flag);
markerOverlay.Markers.Add(marker);
gmap.Overlays.Add(markerOverlay);