File tree Expand file tree Collapse file tree 7 files changed +6
-8
lines changed
dist/samples/3d-marker-graphics Expand file tree Collapse file tree 7 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ async function init() {
3434 map . append ( beachFlagMarker ) ;
3535
3636 // A marker with a custom SVG glyph and white background.
37- const glyphImgUrl =
38- 'https://www.gstatic.com/images/branding/productlogos/maps/v7/192px.svg' ;
37+ const glyphImgUrl = new URL ( 'images/192px.svg' , import . meta. url ) ;
3938 const glyphSvgPinElement = new PinElement ( {
4039 background : 'white' ,
4140 glyphSrc : new URL ( glyphImgUrl ) ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99 < head >
1010 < title > Map</ title >
1111
12- < script type ="module " crossorigin src ="./assets/index-BFMkGjFd .js "> </ script >
12+ < script type ="module " crossorigin src ="./assets/index-DzJmhcPL .js "> </ script >
1313 < link rel ="stylesheet " crossorigin href ="./assets/index-BVXE32j3.css ">
1414 </ head >
1515 < body >
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ async function init() {
2727 beachFlagMarker . append ( templateForImg ) ;
2828 map . append ( beachFlagMarker ) ;
2929 // A marker with a custom SVG glyph and white background.
30- const glyphImgUrl = 'https://www.gstatic.com/ images/branding/productlogos/maps/v7/ 192px.svg';
30+ const glyphImgUrl = new URL ( ' images/192px.svg', import . meta . url ) ;
3131 const glyphSvgPinElement = new PinElement ( {
3232 background : 'white' ,
3333 glyphSrc : new URL ( glyphImgUrl ) ,
Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ async function init() {
3434 map . append ( beachFlagMarker ) ;
3535
3636 // A marker with a custom SVG glyph and white background.
37- const glyphImgUrl =
38- 'https://www.gstatic.com/images/branding/productlogos/maps/v7/192px.svg' ;
37+ const glyphImgUrl = new URL ( 'images/192px.svg' , import . meta. url ) ;
3938 const glyphSvgPinElement = new PinElement ( {
4039 background : 'white' ,
4140 glyphSrc : new URL ( glyphImgUrl ) ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ async function init() {
2727 beachFlagMarker . append ( templateForImg ) ;
2828 map . append ( beachFlagMarker ) ;
2929 // A marker with a custom SVG glyph and white background.
30- const glyphImgUrl = 'https://www.gstatic.com/ images/branding/productlogos/maps/v7/ 192px.svg';
30+ const glyphImgUrl = new URL ( ' images/192px.svg', import . meta . url ) ;
3131 const glyphSvgPinElement = new PinElement ( {
3232 background : 'white' ,
3333 glyphSrc : new URL ( glyphImgUrl ) ,
You can’t perform that action at this time.
0 commit comments