We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 729e8b9 commit bbef3b7Copy full SHA for bbef3b7
samples/routes-get-alternatives/index.ts
@@ -69,7 +69,8 @@ async function getDirections() {
69
if (primaryRoute) {
70
drawRoute(primaryRoute, true);
71
await primaryRoute.createWaypointAdvancedMarkers({ map: innerMap });
72
- innerMap.fitBounds(primaryRoute.viewport, 100);
+ innerMap.fitBounds(primaryRoute.viewport, 50);
73
+ innerMap.setHeading(70);
74
}
75
// [END maps_routes_get_alternatives_compute]
76
// [END maps_routes_get_alternatives_request_full]
0 commit comments