Skip to content

Commit 61e5897

Browse files
committed
docs(maps-3d-example): remove alpha version requirement
1 parent 3751d0d commit 61e5897

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

examples/map-3d/src/app.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,6 @@ const Map3DExample = () => {
4848
};
4949

5050
const App = () => {
51-
const nonAlphaVersionLoaded = Boolean(
52-
globalThis &&
53-
globalThis.google?.maps?.version &&
54-
!globalThis.google?.maps?.version.endsWith('-alpha')
55-
);
56-
57-
if (nonAlphaVersionLoaded) {
58-
location.reload();
59-
return;
60-
}
61-
6251
return (
6352
<APIProvider apiKey={API_KEY} version={'alpha'}>
6453
<Map3DExample />

examples/map-3d/src/control-panel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ function ControlPanel() {
99
<h3>3D Maps</h3>
1010
<p>
1111
This example implements a new <code>Map3D</code> component that renders
12-
a 3D Globe based on the new experimental{' '}
13-
<a href={GMP_3D_MAPS_OVERVIEW_URL} target={'_blank'}>
12+
a 3D Globe based on the new{' '}
13+
<a href={GMP_3D_MAPS_OVERVIEW_URL} target={'_blank'} rel="noreferrer">
1414
<code>Map3DElement</code>
1515
</a>{' '}
1616
web-component.

0 commit comments

Comments
 (0)