Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions dist/samples/3d-accessibility-features/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_accessibility_features]
async function initMap() {
async function init() {
const [
{ Map3DElement, Marker3DInteractiveElement, PopoverElement },
{ PinElement },
Expand Down Expand Up @@ -82,5 +82,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_accessibility_features]
4 changes: 2 additions & 2 deletions dist/samples/3d-accessibility-features/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// [START maps_3d_accessibility_features]
async function initMap() {
async function init() {
const [
{ Map3DElement, Marker3DInteractiveElement, PopoverElement },
{ PinElement },
Expand Down Expand Up @@ -83,5 +83,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_accessibility_features]
4 changes: 2 additions & 2 deletions dist/samples/3d-accessibility-features/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_accessibility_features]
async function initMap() {
async function init() {
const [
{ Map3DElement, Marker3DInteractiveElement, PopoverElement },
{ PinElement },
Expand Down Expand Up @@ -82,5 +82,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_accessibility_features]
4 changes: 2 additions & 2 deletions dist/samples/3d-accessibility-features/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

async function initMap() {
async function init() {
const [
{ Map3DElement, Marker3DInteractiveElement, PopoverElement },
{ PinElement },
Expand Down Expand Up @@ -82,4 +82,4 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
4 changes: 2 additions & 2 deletions dist/samples/3d-camera-boundary/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_camera_boundary]
async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -19,5 +19,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_camera_boundary]
4 changes: 2 additions & 2 deletions dist/samples/3d-camera-boundary/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// [START maps_3d_camera_boundary]
async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -20,5 +20,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_camera_boundary]
4 changes: 2 additions & 2 deletions dist/samples/3d-camera-boundary/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_camera_boundary]
async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -19,5 +19,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_camera_boundary]
4 changes: 2 additions & 2 deletions dist/samples/3d-camera-boundary/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -19,4 +19,4 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
4 changes: 2 additions & 2 deletions dist/samples/3d-camera-center/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_camera_center]
async function initMap(): Promise<void> {
async function init(): Promise<void> {
// Import the needed libraries.
await google.maps.importLibrary('maps3d');

Expand Down Expand Up @@ -36,5 +36,5 @@ async function initMap(): Promise<void> {
});
}

void initMap();
void init();
// [END maps_3d_camera_center]
4 changes: 2 additions & 2 deletions dist/samples/3d-camera-center/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// [START maps_3d_camera_center]
async function initMap() {
async function init() {
// Import the needed libraries.
await google.maps.importLibrary('maps3d');

Expand Down Expand Up @@ -37,5 +37,5 @@ async function initMap() {
});
}

void initMap();
void init();
// [END maps_3d_camera_center]
4 changes: 2 additions & 2 deletions dist/samples/3d-camera-center/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_camera_center]
async function initMap(): Promise<void> {
async function init(): Promise<void> {
// Import the needed libraries.
await google.maps.importLibrary('maps3d');

Expand Down Expand Up @@ -36,5 +36,5 @@ async function initMap(): Promise<void> {
});
}

void initMap();
void init();
// [END maps_3d_camera_center]
4 changes: 2 additions & 2 deletions dist/samples/3d-camera-center/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

async function initMap() {
async function init() {
// Import the needed libraries.
await google.maps.importLibrary('maps3d');

Expand Down Expand Up @@ -36,4 +36,4 @@ async function initMap() {
});
}

void initMap();
void init();
4 changes: 2 additions & 2 deletions dist/samples/3d-coverage-map/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const layerStyle = {
const mapElement = document.querySelector('gmp-map')!;
const placeAutocomplete = document.querySelector('gmp-place-autocomplete')!;

async function initMap() {
async function init() {
// Request needed libraries.
await Promise.all([
google.maps.importLibrary('maps'),
Expand Down Expand Up @@ -53,5 +53,5 @@ async function initMap() {
}
);
}
void initMap();
void init();
// [END maps_3d_coverage_map]
4 changes: 2 additions & 2 deletions dist/samples/3d-coverage-map/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const layerStyle = {
const mapElement = document.querySelector('gmp-map');
const placeAutocomplete = document.querySelector('gmp-place-autocomplete');

async function initMap() {
async function init() {
// Request needed libraries.
await Promise.all([
google.maps.importLibrary('maps'),
Expand Down Expand Up @@ -54,5 +54,5 @@ async function initMap() {
}
);
}
void initMap();
void init();
// [END maps_3d_coverage_map]
4 changes: 2 additions & 2 deletions dist/samples/3d-coverage-map/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const layerStyle = {
const mapElement = document.querySelector('gmp-map')!;
const placeAutocomplete = document.querySelector('gmp-place-autocomplete')!;

async function initMap() {
async function init() {
// Request needed libraries.
await Promise.all([
google.maps.importLibrary('maps'),
Expand Down Expand Up @@ -53,5 +53,5 @@ async function initMap() {
}
);
}
void initMap();
void init();
// [END maps_3d_coverage_map]
4 changes: 2 additions & 2 deletions dist/samples/3d-coverage-map/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const layerStyle = {
const mapElement = document.querySelector('gmp-map');
const placeAutocomplete = document.querySelector('gmp-place-autocomplete');

async function initMap() {
async function init() {
// Request needed libraries.
await Promise.all([
google.maps.importLibrary('maps'),
Expand Down Expand Up @@ -53,4 +53,4 @@ async function initMap() {
}
);
}
void initMap();
void init();
4 changes: 2 additions & 2 deletions dist/samples/3d-localization/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_localization]
async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -26,5 +26,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_localization]
4 changes: 2 additions & 2 deletions dist/samples/3d-localization/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// [START maps_3d_localization]
async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -27,5 +27,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_localization]
4 changes: 2 additions & 2 deletions dist/samples/3d-localization/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_localization]
async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -26,5 +26,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_localization]
4 changes: 2 additions & 2 deletions dist/samples/3d-localization/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -26,4 +26,4 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
4 changes: 2 additions & 2 deletions dist/samples/3d-map-styling/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_map_styling]
async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -25,5 +25,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_map_styling]
4 changes: 2 additions & 2 deletions dist/samples/3d-map-styling/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// [START maps_3d_map_styling]
async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -26,5 +26,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_map_styling]
4 changes: 2 additions & 2 deletions dist/samples/3d-map-styling/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_map_styling]
async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -25,5 +25,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_map_styling]
4 changes: 2 additions & 2 deletions dist/samples/3d-map-styling/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

async function initMap() {
async function init() {
const { Map3DElement } = await google.maps.importLibrary('maps3d');

const map = new Map3DElement({
Expand All @@ -25,4 +25,4 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
4 changes: 2 additions & 2 deletions dist/samples/3d-marker-click-event/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

// [START maps_3d_marker_click_event]
async function initMap() {
async function init() {
// Include the interactive marker class
const { Map3DElement, Marker3DInteractiveElement } =
await google.maps.importLibrary('maps3d');
Expand Down Expand Up @@ -46,5 +46,5 @@ async function initMap() {
document.body.append(map);
}

void initMap();
void init();
// [END maps_3d_marker_click_event]
Loading
Loading