private void OnGetElevation(Vector2 topLeftCoords, Vector2 bottomRightCoords) { // Elevation map must be 32x32 short[,] elevation = new short[32, 32]; // Here you get the elevation from own sources. // Set elevation map control.SetElevationData(elevation); }