All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi,
How can i get WGS84 coordinates from radmap click event?
Regards,
Problem solved :
Point p = this.radMap1.MapElement.PointFromScreen(new Point(e.X, e.Y)); PointL pl = new PointL(p.X + this.radMap1.MapElement.ViewportInPixels.Location.X, p.Y +this.radMap1.MapElement.ViewportInPixels.Location.Y); PointG location = MapTileSystemHelper.PixelXYToLatLong(pl.X, pl.Y,this.radMap1.MapElement.ZoomLevel); pin.Location = new PointG(location.Latitude, location.Longitude);