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 ea64613 commit f5fec44Copy full SHA for f5fec44
samples/js-api-loader-map/index.ts
@@ -12,7 +12,7 @@ const API_KEY = "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8";
12
async function initMap(): Promise<void> {
13
setOptions({ key: API_KEY });
14
15
- const { Map } = await importLibrary("maps");
+ const { Map } = await importLibrary("maps") as google.maps.MapsLibrary;
16
17
const mapOptions = {
18
center: { lat: 48.8566, lng: 2.3522 },
@@ -24,4 +24,4 @@ async function initMap(): Promise<void> {
24
}
25
26
initMap();
27
-// [END maps_js_api_loader_map]
+// [END maps_js_api_loader_map]
0 commit comments