Zoom in ArcGIS 4.0 beta does not work

2633
1
10-09-2015 12:59 AM
EvgenyKleiman
New Contributor II

I checked sample code for ArcGIS 4.0 beta:

Samples Overview | ArcGIS API for JavaScript

First of all there are  still a few samples. I tried zoom with Ctrl+Left Mouse button: it works as pan, but not as zoom in as in previous versions. Why ithis possibility was cancelled? Is there any other possibility for zoom?

0 Kudos
1 Reply
KristianEkenes
Esri Regular Contributor

Hi,

The navigation controls are documented in the MapView and SceneView class descriptions:

MapView: MapView | API Reference | ArcGIS API for JavaScript

SceneView: SceneView | API Reference | ArcGIS API for JavaScript

As of now, you can only zoom in by scrolling forward or double clicking.

It sounds like you're referring to the Shift + left mouse drag action that allows you to draw an extent and zoom to it. This action currently isn't supported in the 4.0beta, but it will be added in a future release.