Topic: How can I get the elevation ?and How can I draw them into 3D scene?

In the InterceptElevationRequestExample.cs,31line ,
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.
           //what code can I add here?
            // Set elevation map
            control.SetElevationData(elevation);
        }
After do this,which step can help me to draw the elevation data into 3D scence?Sorry for my poor code tech?
Please help me?Thanks.

Re: How can I get the elevation ?and How can I draw them into 3D scene?

Hello.

If you just need a 3d map with elevation, then you do not need to use this example.
Just use «Use Elevation - ON», and specify your Bing Maps API Key.

This is an example of how to use elevation data from your own sources.
And at this point you load elevation data.
After this «SetElevationData» send it to map.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.