File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 55 */
66
77// [START maps_add_map]
8- // Initialize and add the map
8+ // Initialize and add the map.
99let map ;
1010async function initMap ( ) : Promise < void > {
1111 // [START maps_add_map_instantiate_map]
@@ -18,7 +18,7 @@ async function initMap(): Promise<void> {
1818 const { AdvancedMarkerElement} =
1919 await google . maps . importLibrary ( 'marker' ) as google . maps . MarkerLibrary ;
2020
21- // The map, centered at Uluru.
21+ // The map, centered at Uluru, Australia .
2222 map = new Map ( document . getElementById ( 'map' ) as HTMLElement , {
2323 zoom : 4 ,
2424 center : position ,
Original file line number Diff line number Diff line change 55 * SPDX-License-Identifier: Apache-2.0
66 */
77// [START maps_add_map]
8- // Initialize and add the map
8+ // Initialize and add the map.
99let map ;
1010async function initMap ( ) {
1111 // [START maps_add_map_instantiate_map]
@@ -14,7 +14,7 @@ async function initMap() {
1414 // Request the needed libraries.
1515 const { Map } = await google . maps . importLibrary ( 'maps' ) ;
1616 const { AdvancedMarkerElement } = await google . maps . importLibrary ( 'marker' ) ;
17- // The map, centered at Uluru.
17+ // The map, centered at Uluru, Australia .
1818 map = new Map ( document . getElementById ( 'map' ) , {
1919 zoom : 4 ,
2020 center : position ,
Original file line number Diff line number Diff line change 55 */
66
77// [START maps_add_map]
8- // Initialize and add the map
8+ // Initialize and add the map.
99let map ;
1010async function initMap ( ) : Promise < void > {
1111 // [START maps_add_map_instantiate_map]
@@ -18,7 +18,7 @@ async function initMap(): Promise<void> {
1818 const { AdvancedMarkerElement} =
1919 await google . maps . importLibrary ( 'marker' ) as google . maps . MarkerLibrary ;
2020
21- // The map, centered at Uluru.
21+ // The map, centered at Uluru, Australia .
2222 map = new Map ( document . getElementById ( 'map' ) as HTMLElement , {
2323 zoom : 4 ,
2424 center : position ,
Original file line number Diff line number Diff line change 55 * SPDX-License-Identifier: Apache-2.0
66 */
77
8- // Initialize and add the map
8+ // Initialize and add the map.
99let map ;
1010async function initMap ( ) {
1111
@@ -14,7 +14,7 @@ async function initMap() {
1414 // Request the needed libraries.
1515 const { Map } = await google . maps . importLibrary ( 'maps' ) ;
1616 const { AdvancedMarkerElement } = await google . maps . importLibrary ( 'marker' ) ;
17- // The map, centered at Uluru.
17+ // The map, centered at Uluru, Australia .
1818 map = new Map ( document . getElementById ( 'map' ) , {
1919 zoom : 4 ,
2020 center : position ,
You can’t perform that action at this time.
0 commit comments