if (!Page.IsPostBack) { Map1.MapUnit = GeographyUnit.DecimalDegree; PointShape GPSPoint = new PointShape(10, 2); string DecimalDegrees = GPSPoint.X.ToString() + " " + GPSPoint.Y.ToString(); DegreesMinutesSeconds x = DecimalDegreesHelper.GetDegreesMinutesSecondsFromDecimalDegree(GPSPoint.X); DegreesMinutesSeconds y = DecimalDegreesHelper.GetDegreesMinutesSecondsFromDecimalDegree(GPSPoint.Y); string DegreeesMinutes = string.Format(CultureInfo.InvariantCulture, "{0:D2}º {1:D2}'", Math.Abs(x.Degrees), Math.Abs(x.Minutes)) + " " + string.Format(CultureInfo.InvariantCulture, "{0:D2}º {1:D2}'", Math.Abs(y.Degrees), Math.Abs(y.Minutes)); string DegreesMinutesSeconds = x.ToString() + " " + y.ToString(); ManagedProj4Projection prj = new ManagedProj4Projection(); prj.InternalProjectionParametersString = ManagedProj4Projection.GetEpsgParametersString(4326); prj.ExternalProjectionParametersString = ManagedProj4Projection.GetGoogleMapParametersString(); prj.Open(); PointShape projectedPointShape = (prj.ConvertToExternalProjection(GPSPoint) as PointShape); string Meters = projectedPointShape.X.ToString() + " " + projectedPointShape.Y.ToString(); string Feets = (projectedPointShape.X * 3.280839895).ToString() + " " + (projectedPointShape.Y * 3.280839895).ToString(); string CoordinateInformation = "DecimalDegrees:" + DecimalDegrees + "\n" + "DegreeesMinutes:" + DegreeesMinutes + "\n" + "DegreesMinutesSeconds:" + DegreesMinutesSeconds + "\n" + "Meters:" + Meters + "\n" + "Feets:" + Feets; Feature feature = new Feature(GPSPoint); feature.ColumnValues.Add("test", CoordinateInformation); InMemoryFeatureLayer inmLayer = new InMemoryFeatureLayer(); inmLayer.Open(); inmLayer.InternalFeatures.Add(feature); inmLayer.Columns.Add(new FeatureSourceColumn("Test")); inmLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.CreateSimpleTextStyle("Test", "Arial", 10, DrawingFontStyles.Regular, GeoColor.StandardColors.Red, 0, -12); inmLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.TextLineSegmentRatio = 300; inmLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.Capital1; inmLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; inmLayer.DrawingMarginPercentage = 150; LayerOverlay staticOverlay = new LayerOverlay(); staticOverlay.Layers.Add(inmLayer); Map1.CurrentExtent = inmLayer.GetBoundingBox(); Map1.CustomOverlays.Add(staticOverlay); }