Select to view content in your preferred language

10.2.4 InteractionOptions - Zoom and Rotate?

3379
2
10-14-2014 01:25 AM
CedricSeah
Occasional Contributor

In 10.2.3, Right click to zoom is enabled by default. Middle click allowed me to rotate the map.

In 10.2.4, even after enabling Rotation and Zooming via the InteractionOptions, I am no longer able to perform either action. Is there any way to re-enable the 10.2.3 behaviours?

XAML InteractionOptions Snippet

<esri:MapView.InteractionOptions>

                    <esri:InteractionOptions>

                        <esri:InteractionOptions.ZoomOptions>

                            <esri:ZoomOptions IsEnabled="True" IsDoubleTappedEnabled="True" IsZoomBoxEnabled="False" IsMouseWheelEnabled="True" IsPinchEnabled="True" IsTwoFingerTapEnabled="True" IsKeyboardEnabled="False" />

                        </esri:InteractionOptions.ZoomOptions>

                        <esri:InteractionOptions.RotationOptions >

                            <esri:RotationOptions IsEnabled="True" />

                        </esri:InteractionOptions.RotationOptions>

                        <esri:InteractionOptions.PanOptions>

                            <esri:PanOptions IsEnabled="True" IsDragEnabled="True" IsFlickEnabled="True" IsKeyboardEnabled="True" />

                        </esri:InteractionOptions.PanOptions>

                    </esri:InteractionOptions>

                </esri:MapView.InteractionOptions>

0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor

Right-click interaction is not available out of the box and has been reserved for custom app usage (context menus or whatever interaction you would like to build from it, like rotate for instance)

0 Kudos
CedricSeah
Occasional Contributor

Thanks, is there any documentation out there which describes what keys / gestures will trigger rotation and zooming when the ZoomOptions and RotationOptions are enabled?

0 Kudos