Skip to content

Commit 671f87b

Browse files
Update dist folder [skip ci] (#864)
1 parent 4c4c6ab commit 671f87b

File tree

20 files changed

+52
-122
lines changed

20 files changed

+52
-122
lines changed

dist/samples/advanced-markers-basic-style/app/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ async function initMap() {
7979

8080
// [START maps_advanced_markers_basic_style_text_glyph]
8181
const pinTextGlyph = new PinElement({
82-
glyph: 'T',
82+
//@ts-ignore
83+
glyphText: 'T',
8384
glyphColor: 'white',
8485
});
8586
const markerViewGlyphText = new AdvancedMarkerElement({
@@ -92,7 +93,8 @@ async function initMap() {
9293
// [START maps_advanced_markers_basic_style_hide_glyph]
9394
// Hide the glyph.
9495
const pinNoGlyph = new PinElement({
95-
glyph: '',
96+
//@ts-ignore
97+
glyphText: '',
9698
});
9799
const markerViewNoGlyph = new AdvancedMarkerElement({
98100
map,

dist/samples/advanced-markers-basic-style/dist/assets/index-CZt8nPGO.js renamed to dist/samples/advanced-markers-basic-style/dist/assets/index-DFenx6lm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/samples/advanced-markers-basic-style/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<head>
1010
<title>Advanced Marker Basic Customization</title>
1111

12-
<script type="module" crossorigin src="./assets/index-CZt8nPGO.js"></script>
12+
<script type="module" crossorigin src="./assets/index-DFenx6lm.js"></script>
1313
<link rel="stylesheet" crossorigin href="./assets/index-DW_Ml_OD.css">
1414
</head>
1515
<body>

dist/samples/advanced-markers-basic-style/docs/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ async function initMap() {
7070
// [END maps_advanced_markers_basic_style_glyph]
7171
// [START maps_advanced_markers_basic_style_text_glyph]
7272
const pinTextGlyph = new PinElement({
73-
glyph: 'T',
73+
//@ts-ignore
74+
glyphText: 'T',
7475
glyphColor: 'white',
7576
});
7677
const markerViewGlyphText = new AdvancedMarkerElement({
@@ -82,7 +83,8 @@ async function initMap() {
8283
// [START maps_advanced_markers_basic_style_hide_glyph]
8384
// Hide the glyph.
8485
const pinNoGlyph = new PinElement({
85-
glyph: '',
86+
//@ts-ignore
87+
glyphText: '',
8688
});
8789
const markerViewNoGlyph = new AdvancedMarkerElement({
8890
map,

dist/samples/advanced-markers-basic-style/docs/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ async function initMap() {
7979

8080
// [START maps_advanced_markers_basic_style_text_glyph]
8181
const pinTextGlyph = new PinElement({
82-
glyph: 'T',
82+
//@ts-ignore
83+
glyphText: 'T',
8384
glyphColor: 'white',
8485
});
8586
const markerViewGlyphText = new AdvancedMarkerElement({
@@ -92,7 +93,8 @@ async function initMap() {
9293
// [START maps_advanced_markers_basic_style_hide_glyph]
9394
// Hide the glyph.
9495
const pinNoGlyph = new PinElement({
95-
glyph: '',
96+
//@ts-ignore
97+
glyphText: '',
9698
});
9799
const markerViewNoGlyph = new AdvancedMarkerElement({
98100
map,

dist/samples/advanced-markers-basic-style/jsfiddle/demo.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ async function initMap() {
7070

7171

7272
const pinTextGlyph = new PinElement({
73-
glyph: 'T',
73+
//@ts-ignore
74+
glyphText: 'T',
7475
glyphColor: 'white',
7576
});
7677
const markerViewGlyphText = new AdvancedMarkerElement({
@@ -82,7 +83,8 @@ async function initMap() {
8283

8384
// Hide the glyph.
8485
const pinNoGlyph = new PinElement({
85-
glyph: '',
86+
//@ts-ignore
87+
glyphText: '',
8688
});
8789
const markerViewNoGlyph = new AdvancedMarkerElement({
8890
map,

dist/samples/advanced-markers-graphics/app/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
<html>
99
<head>
1010
<title>Advanced Markers Using Graphics</title>
11-
12-
<script src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"></script>
13-
1411
<link rel="stylesheet" type="text/css" href="./style.css" />
1512
<script type="module" src="./index.js"></script>
1613
</head>

dist/samples/advanced-markers-graphics/app/index.ts

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function initMap() {
3939
// [START maps_advanced_markers_graphics_png]
4040
// A marker with a with a URL pointing to a PNG.
4141
const beachFlagImg = document.createElement('img');
42-
beachFlagImg.src = new URL('./images/beachflag.png', import.meta.url).href;
42+
beachFlagImg.src = new URL('./public/beachflag.png', import.meta.url).href;
4343

4444
const beachFlagMarkerView = new AdvancedMarkerElement({
4545
map,
@@ -54,11 +54,11 @@ async function initMap() {
5454

5555
// [START maps_advanced_markers_graphics_svg_glyph]
5656
// A marker with a custom SVG glyph.
57-
const glyphImg = document.createElement('img');
58-
glyphImg.src = new URL('./images/google_logo_g.svg', import.meta.url).href;
59-
57+
const glyphImgSrc = new URL('./public/google_logo_g.svg', import.meta.url);
58+
6059
const glyphSvgPinElement = new PinElement({
61-
glyph: glyphImg,
60+
//@ts-ignore
61+
glyphSrc: glyphImgSrc,
6262
});
6363

6464
const glyphSvgMarkerView = new AdvancedMarkerElement({
@@ -80,7 +80,8 @@ async function initMap() {
8080

8181
const pinElement = new PinElement({
8282
background: place.iconBackgroundColor,
83-
glyph: new URL(String(place.svgIconMaskURI)),
83+
//@ts-ignore
84+
glyphSrc: new URL(String(place.svgIconMaskURI)),
8485
});
8586

8687
const placeIconMarkerView = new AdvancedMarkerElement({
@@ -90,25 +91,6 @@ async function initMap() {
9091
title: place.displayName,
9192
});
9293
// [END maps_advanced_markers_graphics_place_icon]
93-
94-
// [START maps_advanced_markers_graphics_fontawesome]
95-
// A marker using a Font Awesome icon for the glyph.
96-
const icon = document.createElement('div');
97-
icon.innerHTML = '<i class="fa fa-pizza-slice fa-lg"></i>';
98-
const faPin = new PinElement({
99-
glyph: icon,
100-
glyphColor: '#ff8300',
101-
background: '#FFD514',
102-
borderColor: '#ff8300',
103-
});
104-
105-
const faMarker = new AdvancedMarkerElement({
106-
map,
107-
position: { lat: 37.412, lng: -122.095829650878 },
108-
content: faPin.element,
109-
title: 'A marker using a FontAwesome icon for the glyph.'
110-
});
111-
// [END maps_advanced_markers_graphics_fontawesome]
11294
}
11395

11496
initMap();

dist/samples/advanced-markers-graphics/dist/assets/index-C7BKES5s.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

dist/samples/advanced-markers-graphics/dist/assets/index-D1HGXiPN.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)