You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/samples/match_viewpoint_of_geo_views/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Interact with the MapView or SceneView by zooming or panning. The other MapView
14
14
15
15
## How it works
16
16
17
-
1. Wire up the `onViewpointChanged`and `onNavigationChanged`event handlers for both geo views.
17
+
1. Wire up the `onViewpointChanged` event handlers for both geo views.
18
18
2. In each event handler, get the current viewpoint from the geo view that is being interacted with and then set the viewpoint of the other geo view to the same value.
19
19
3. Note: The reason for setting the viewpoints in multiple event handlers is to account for different types of interactions that can occur (ie. single click pan -vs- continuous pan, single click zoom in -vs- mouse scroll wheel zoom, etc.).
0 commit comments