diff --git a/samples/map-simple/index.ts b/samples/map-simple/index.ts index 33b2d4f4..923240da 100644 --- a/samples/map-simple/index.ts +++ b/samples/map-simple/index.ts @@ -3,16 +3,17 @@ * Copyright 2025 Google LLC. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ -// TEST COMMENT 001 + // [START maps_map_simple] let map: google.maps.Map; async function initMap(): Promise { - const { Map } = (await google.maps.importLibrary( + const { Map, RenderingType } = (await google.maps.importLibrary( 'maps' )) as google.maps.MapsLibrary; map = new Map(document.getElementById('map') as HTMLElement, { center: { lat: -34.397, lng: 150.644 }, zoom: 8, + renderingType: RenderingType.VECTOR, }); }