hi all,
quick question on map navigation. Does ArcGIS JS v3 or v4 have something similar to google maps "use two fingers" or "ctrl + zoom to scroll map": https://developers.google.com/maps/documentation/javascript/interaction ?
Would be great on touchscreen devices.
thanks,
This sample shows you how to do that.
https://developers.arcgis.com/javascript/latest/sample-code/view-disable-zoom/
Hi Vic,
Here are some of the keyboard and programmatic navigation options available to you:
https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#programmatic-navigation
and
https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#navigation
Thanks for your response, but I'm not sure this will help.
I do see things like stopPropagation() on "drag" event, but those seems like to stop all scrolling on touch devices, not the same sort of thing like Google maps link above. Is there any future plan to build something in like what Google have into the ArcGIS JS API either version 4 or 3?
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.