Hello,
I am using the Web Suite and GoogleOverLay to load in Google Maps. I have the MapUnit set to meter - all is working well.
My question is how to achieve drawing a simple "clickable" polygon on top of the map using decimal degree. For example LatLng(62.000000, -18.000000), LatLng(48.000000, 18.000000). Please provide a code sample.
Thanks.
Map1.MapBackground.BackgroundBrush =newGeoSolidBrush(GeoColor.FromHtml("#E5E3DF"));;Map1.CurrentExtent =newRectangleShape(-18595090.514592, 12419998.078083, 18427337.004236, -9065533.3255494);Map1.MapUnit = GeographyUnit.Meter;
Map1.MapTools.OverlaySwitcher.Enabled =false;Map1.MapTools.MouseCoordinate.Enabled =true;Map1.MapTools.PanZoomBar.Enabled =true;Map1.MapTools.MiniMap.Enabled =true;
GoogleOverlay google =newGoogleOverlay("Google Map");google.JavaScriptLibraryUri =newUri(ConfigurationManager.AppSettings["GoogleUriV3"]);google.GoogleMapType = GoogleMapType.Physical;Map1.CustomOverlays.Add(google);