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 cff1b48 commit 723cda8Copy full SHA for 723cda8
1 file changed
samples/map-simple/index.ts
@@ -3,16 +3,17 @@
3
* Copyright 2025 Google LLC. All Rights Reserved.
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
-// TEST COMMENT 001
+
7
// [START maps_map_simple]
8
let map: google.maps.Map;
9
async function initMap(): Promise<void> {
10
- const { Map } = (await google.maps.importLibrary(
+ const { Map, RenderingType } = (await google.maps.importLibrary(
11
'maps'
12
)) as google.maps.MapsLibrary;
13
map = new Map(document.getElementById('map') as HTMLElement, {
14
center: { lat: -34.397, lng: 150.644 },
15
zoom: 8,
16
+ renderingType: RenderingType.VECTOR,
17
});
18
}
19
0 commit comments