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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dist/samples/3d-accessibility-features/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ async function initMap() {

const map = new Map3DElement({
center: { lat: 34.8405, lng : -111.7909, altitude: 1322.70 }, range: 13279.50, tilt: 67.44 ,heading: 0.01,
mode: 'SATELLITE'
mode: 'SATELLITE',
gestureHandling: "COOPERATIVE"
});

// Set LatLng and title text for the markers. The first marker (Boynton Pass)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/samples/3d-accessibility-features/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<head>
<title>Map</title>

<script type="module" crossorigin src="./assets/index-CDjT9Ul7.js"></script>
<script type="module" crossorigin src="./assets/index-CA3UWuRQ.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DDwKyjRS.css">
</head>
<body>
Expand Down
3 changes: 2 additions & 1 deletion dist/samples/3d-accessibility-features/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ async function initMap() {
const { PinElement } = await google.maps.importLibrary("marker");
const map = new Map3DElement({
center: { lat: 34.8405, lng: -111.7909, altitude: 1322.70 }, range: 13279.50, tilt: 67.44, heading: 0.01,
mode: 'SATELLITE'
mode: 'SATELLITE',
gestureHandling: "COOPERATIVE"
});
// Set LatLng and title text for the markers. The first marker (Boynton Pass)
// receives the initial focus when tab is pressed. Use arrow keys to move
Expand Down
3 changes: 2 additions & 1 deletion dist/samples/3d-accessibility-features/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ async function initMap() {

const map = new Map3DElement({
center: { lat: 34.8405, lng : -111.7909, altitude: 1322.70 }, range: 13279.50, tilt: 67.44 ,heading: 0.01,
mode: 'SATELLITE'
mode: 'SATELLITE',
gestureHandling: "COOPERATIVE"
});

// Set LatLng and title text for the markers. The first marker (Boynton Pass)
Expand Down
3 changes: 2 additions & 1 deletion dist/samples/3d-accessibility-features/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ async function initMap() {
const { PinElement } = await google.maps.importLibrary("marker");
const map = new Map3DElement({
center: { lat: 34.8405, lng: -111.7909, altitude: 1322.70 }, range: 13279.50, tilt: 67.44, heading: 0.01,
mode: 'SATELLITE'
mode: 'SATELLITE',
gestureHandling: "COOPERATIVE"
});
// Set LatLng and title text for the markers. The first marker (Boynton Pass)
// receives the initial focus when tab is pressed. Use arrow keys to move
Expand Down
1 change: 1 addition & 0 deletions dist/samples/3d-camera-boundary/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ async function initMap() {
tilt: 67.5,
mode: 'HYBRID',
bounds: {south: -48.30, west: 163.56, north: -32.86, east: -180},
gestureHandling: "COOPERATIVE"
});

document.body.append(map);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/samples/3d-camera-boundary/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<head>
<title>Map</title>

<script type="module" crossorigin src="./assets/index-CIxPjvxi.js"></script>
<script type="module" crossorigin src="./assets/index-Df7wxdaJ.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DDwKyjRS.css">
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions dist/samples/3d-camera-boundary/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ async function initMap() {
tilt: 67.5,
mode: 'HYBRID',
bounds: { south: -48.30, west: 163.56, north: -32.86, east: -180 },
gestureHandling: "COOPERATIVE"
});
document.body.append(map);
}
Expand Down
1 change: 1 addition & 0 deletions dist/samples/3d-camera-boundary/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ async function initMap() {
tilt: 67.5,
mode: 'HYBRID',
bounds: {south: -48.30, west: 163.56, north: -32.86, east: -180},
gestureHandling: "COOPERATIVE"
});

document.body.append(map);
Expand Down
1 change: 1 addition & 0 deletions dist/samples/3d-camera-boundary/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ async function initMap() {
tilt: 67.5,
mode: 'HYBRID',
bounds: { south: -48.30, west: 163.56, north: -32.86, east: -180 },
gestureHandling: "COOPERATIVE"
});
document.body.append(map);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/samples/3d-camera-to-around/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function init() {
const { Map3DElement } = await google.maps.importLibrary("maps3d");

const map = new Map3DElement(
{ center: { lat: 37.79810773998413, lng : -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, }
{ center: { lat: 37.79810773998413, lng : -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, gestureHandling: "COOPERATIVE" }
);

map.mode = "SATELLITE";
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/samples/3d-camera-to-around/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<head>
<title>Map</title>

<script type="module" crossorigin src="./assets/index-C5Deev1o.js"></script>
<script type="module" crossorigin src="./assets/index-DEe3hV7x.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DDwKyjRS.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion dist/samples/3d-camera-to-around/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// [START maps_3d_camera_to_around]
async function init() {
const { Map3DElement } = await google.maps.importLibrary("maps3d");
const map = new Map3DElement({ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, });
const map = new Map3DElement({ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, gestureHandling: "COOPERATIVE" });
map.mode = "SATELLITE";
document.body.append(map);
// Used for both the fly to function and the location to fly around.
Expand Down
2 changes: 1 addition & 1 deletion dist/samples/3d-camera-to-around/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function init() {
const { Map3DElement } = await google.maps.importLibrary("maps3d");

const map = new Map3DElement(
{ center: { lat: 37.79810773998413, lng : -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, }
{ center: { lat: 37.79810773998413, lng : -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, gestureHandling: "COOPERATIVE" }
);

map.mode = "SATELLITE";
Expand Down
2 changes: 1 addition & 1 deletion dist/samples/3d-camera-to-around/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

async function init() {
const { Map3DElement } = await google.maps.importLibrary("maps3d");
const map = new Map3DElement({ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, });
const map = new Map3DElement({ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, gestureHandling: "COOPERATIVE" });
map.mode = "SATELLITE";
document.body.append(map);
// Used for both the fly to function and the location to fly around.
Expand Down
2 changes: 1 addition & 1 deletion dist/samples/3d-label-toggle/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function init() {
const { Map3DElement, MapMode } = await google.maps.importLibrary("maps3d");

map = new Map3DElement(
{ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, }
{ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, gestureHandling: "COOPERATIVE" }
);

map.mode = MapMode.SATELLITE;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/samples/3d-label-toggle/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<head>
<title>Map</title>

<script type="module" crossorigin src="./assets/index-Bxt8cHJt.js"></script>
<script type="module" crossorigin src="./assets/index-DYN7heZt.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-C0BqhgNC.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion dist/samples/3d-label-toggle/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
let map;
async function init() {
const { Map3DElement, MapMode } = await google.maps.importLibrary("maps3d");
map = new Map3DElement({ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, });
map = new Map3DElement({ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, gestureHandling: "COOPERATIVE" });
map.mode = MapMode.SATELLITE;
document.body.append(map);
const locationCamera = {
Expand Down
2 changes: 1 addition & 1 deletion dist/samples/3d-label-toggle/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function init() {
const { Map3DElement, MapMode } = await google.maps.importLibrary("maps3d");

map = new Map3DElement(
{ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, }
{ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, gestureHandling: "COOPERATIVE" }
);

map.mode = MapMode.SATELLITE;
Expand Down
2 changes: 1 addition & 1 deletion dist/samples/3d-label-toggle/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
let map;
async function init() {
const { Map3DElement, MapMode } = await google.maps.importLibrary("maps3d");
map = new Map3DElement({ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, });
map = new Map3DElement({ center: { lat: 37.79810773998413, lng: -122.41784275049939, altitude: 89.08476932205978 }, range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, gestureHandling: "COOPERATIVE" });
map.mode = MapMode.SATELLITE;
document.body.append(map);
const locationCamera = {
Expand Down
1 change: 1 addition & 0 deletions dist/samples/3d-marker-click-event/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ async function initMap() {
const map = new Map3DElement({
...originalCamera,
mode: "SATELLITE",
gestureHandling: "COOPERATIVE"
});

// Create the interactive marker and set the attributes.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/samples/3d-marker-click-event/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<head>
<title>Map</title>

<script type="module" crossorigin src="./assets/index-owU-9bC9.js"></script>
<script type="module" crossorigin src="./assets/index-nxceStJ-.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DDwKyjRS.css">
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions dist/samples/3d-marker-click-event/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ async function initMap() {
const map = new Map3DElement({
...originalCamera,
mode: "SATELLITE",
gestureHandling: "COOPERATIVE"
});
// Create the interactive marker and set the attributes.
const interactiveMarker = new Marker3DInteractiveElement({
Expand Down
1 change: 1 addition & 0 deletions dist/samples/3d-marker-click-event/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ async function initMap() {
const map = new Map3DElement({
...originalCamera,
mode: "SATELLITE",
gestureHandling: "COOPERATIVE"
});

// Create the interactive marker and set the attributes.
Expand Down
1 change: 1 addition & 0 deletions dist/samples/3d-marker-click-event/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ async function initMap() {
const map = new Map3DElement({
...originalCamera,
mode: "SATELLITE",
gestureHandling: "COOPERATIVE"
});
// Create the interactive marker and set the attributes.
const interactiveMarker = new Marker3DInteractiveElement({
Expand Down
1 change: 1 addition & 0 deletions dist/samples/3d-marker-collision-behavior/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ async function init() {
center: { lat: 47.6094, lng: -122.3390, altitude: 0 },
range: 1000,
mode: MapMode.HYBRID,
gestureHandling: "COOPERATIVE"
});

for (const [lng, lat] of positions) {
Expand Down
Loading