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
Binary file added dist/assets/windmill.glb
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/samples/3d-marker-graphics/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function init() {

// A marker with a with a URL pointing to a PNG.
const beachFlagImg = document.createElement('img');
beachFlagImg.src = 'https://maps-docs-team.web.app/assets/beachflag.png';
beachFlagImg.src = new URL('images/beachflag.png', import.meta.url);

const beachFlagMarker = new Marker3DElement({
position: { lat: 37.434, lng: -122.082 },
Expand Down
5 changes: 5 additions & 0 deletions dist/samples/3d-marker-graphics/dist/assets/index-2oh7tHSc.js

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

5 changes: 0 additions & 5 deletions dist/samples/3d-marker-graphics/dist/assets/index-Dgt8SIfA.js

This file was deleted.

2 changes: 1 addition & 1 deletion dist/samples/3d-marker-graphics/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-Dgt8SIfA.js"></script>
<script type="module" crossorigin src="./assets/index-2oh7tHSc.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DDwKyjRS.css">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions dist/samples/3d-marker-graphics/docs/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"use strict";
/*
* @license
* Copyright 2025 Google LLC. All Rights Reserved.
Expand All @@ -18,7 +17,7 @@ async function init() {
});
// A marker with a with a URL pointing to a PNG.
const beachFlagImg = document.createElement('img');
beachFlagImg.src = 'https://maps-docs-team.web.app/assets/beachflag.png';
beachFlagImg.src = new URL('images/beachflag.png', import.meta.url);
const beachFlagMarker = new Marker3DElement({
position: { lat: 37.434, lng: -122.082 },
});
Expand Down Expand Up @@ -75,4 +74,5 @@ async function init() {
document.body.append(map);
}
init();
export {};
// [END maps_3d_marker_graphics]
2 changes: 1 addition & 1 deletion dist/samples/3d-marker-graphics/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function init() {

// A marker with a with a URL pointing to a PNG.
const beachFlagImg = document.createElement('img');
beachFlagImg.src = 'https://maps-docs-team.web.app/assets/beachflag.png';
beachFlagImg.src = new URL('images/beachflag.png', import.meta.url);

const beachFlagMarker = new Marker3DElement({
position: { lat: 37.434, lng: -122.082 },
Expand Down
4 changes: 2 additions & 2 deletions dist/samples/3d-marker-graphics/jsfiddle/demo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"use strict";
/*
* @license
* Copyright 2025 Google LLC. All Rights Reserved.
Expand All @@ -18,7 +17,7 @@ async function init() {
});
// A marker with a with a URL pointing to a PNG.
const beachFlagImg = document.createElement('img');
beachFlagImg.src = 'https://maps-docs-team.web.app/assets/beachflag.png';
beachFlagImg.src = new URL('images/beachflag.png', import.meta.url);
const beachFlagMarker = new Marker3DElement({
position: { lat: 37.434, lng: -122.082 },
});
Expand Down Expand Up @@ -75,4 +74,5 @@ async function init() {
document.body.append(map);
}
init();
export {};