From 9007b9279db7fd359750669571f6f9696ca69b56 Mon Sep 17 00:00:00 2001 From: William French Date: Tue, 24 Feb 2026 07:41:47 -0800 Subject: [PATCH] feat: Adds rendering type map option. --- samples/map-simple/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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, }); }