MapPoint mapPoint1 = Map.ScreenToMap(point); // Map is your esri map control MapPoint mapPoint2 = Map.ScreenToMap(newPoint(point.X + canvas.Width, point.Y + (or -) canvas.Height)); ElementLayer.SetEnvelope(canvas, newEnvelope(mapPoint1, mapPoint2)); // canvas is your Canvas control
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.