Display an oblique view with a MapView

379
1
03-06-2020 01:34 AM
JérômeDuckers
New Contributor III

Hi everyone,

Is there a way to display an oblique view with a mapview (2D) component ?

I want something like that :

            

I know I can use a Sceneview, but the problem is the spatialreference in WGS84, I want to use my own spatialreference.

Thanks,

Jérôme.

0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor

It's not currently supported out of the box. WPF does have a way to do a perspective transform of a control, but it's going to be a little bit tricky to maintain the right size of your control (you'd have to extend it beyond the bounds of the view to get full coverage). It should be doable, but you'll probably have to get out the good old trigonometry books to get it right, and update it each time the parent control size changes 

I'm curious why you can't use 3D? The WGS84 SR is really just the coordinate system it communicates in. That doesn't mean the data actually have to be in this SR (albeit if your data doesn't support re-projection, it should be precooked in either webmercator or wgs84)

0 Kudos