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: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
## HEAD
2
2
3
+
- Introduce `useBrowserFocus` option to use the browser's native focus management instead of the geocoder's custom focus management. This is useful for accessibility.
t.ok(mapFlyMethod.calledOnce,"The map flyTo was called when the option was set to true");
783
783
varcalledWithArgs=mapFlyMethod.args[0][0];
784
-
t.equals(+calledWithArgs.center[0].toFixed(4),+-122.4809.toFixed(4),'the map is directed to fly to the right longitude');
785
-
t.equals(+calledWithArgs.center[1].toFixed(4),+37.8181.toFixed(4),'the map is directed to fly to the right latitude');t.deepEqual(calledWithArgs.zoom,4,'the selected result overrides the constructor zoom option');
784
+
t.equals(+calledWithArgs.center[0].toFixed(4),+-122.4802.toFixed(4),'the map is directed to fly to the right longitude');
785
+
t.equals(+calledWithArgs.center[1].toFixed(4),+37.8317.toFixed(4),'the map is directed to fly to the right latitude');t.deepEqual(calledWithArgs.zoom,4,'the selected result overrides the constructor zoom option');
786
786
t.deepEqual(calledWithArgs.speed,5,'speed argument is passed to the flyTo method');
0 commit comments