1

Resolved

Rotating the map

description

Hi guys,
 
first of all, congratulations for this great control. I'm trying to create a prototype for surface using VE and it's saving me a lot of time. I'm having problems rotating the map and I wonder if any of you have any possible solution. First I tried using a separated transparent window but then I had some problems with the pushpins. I saw in the code you are creating a ManipulationProcessor accepting every king of manipulation but rotation:
 
            this.manipulationProcessor = new Affine2DManipulationProcessor(
                Affine2DManipulations.TranslateX |
                Affine2DManipulations.TranslateY |
                Affine2DManipulations.Scale |
                this, false);
 
I tried to change that into 
 
            this.manipulationProcessor = new Affine2DManipulationProcessor(
                Affine2DManipulations.TranslateX |
                Affine2DManipulations.TranslateY |
                Affine2DManipulations.Scale |
                Affine2DManipulations.Rotate,
                this, false);
 
And then, use the Roll property of the map when any delta change was done. I got the rotation to work but then the zooming functionality was lost. Is there any way to get rotation to work without changing SurfaceVEMap class or has any of you used my approach and then discarded it because of any limitation.
 
Thanks in advance,
David Martos

comments