Skip to content

Commit

Permalink
fix: add solutionChannel to RGM examples (#1729)
Browse files Browse the repository at this point in the history
* fix: add solutionChannel to RGM examples

* update packages

* correct package setting
  • Loading branch information
kwnevarez authored May 14, 2024
1 parent aa3e561 commit d6bd694
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"@material/mwc-button": "^0.27.0",
"@material/select": "^14.0.0",
"@tweenjs/tween.js": "^21.0.0",
"@vis.gl/react-google-maps": "latest",
"@vis.gl/react-google-maps": "^1.0.0",
"clsx": "^2.1.1",
"fast-equals": "^3.0.3",
"playground-elements": "^0.18.1",
Expand Down
2 changes: 1 addition & 1 deletion samples/rgm-autocomplete/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const App = () => {
const [markerRef, marker] = useAdvancedMarkerRef();

return (
<APIProvider apiKey={API_KEY}>
<APIProvider apiKey={API_KEY} solutionChannel='GMP_JS_SAMPLE_rgm-autocomplete'>
<Map
mapId={'bf51a910020fa25a'}
defaultZoom={3}
Expand Down
2 changes: 1 addition & 1 deletion samples/rgm-basic-map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const API_KEY =
globalThis.GOOGLE_MAPS_API_KEY ?? ("YOUR_API_KEY");

const App = () => (
<APIProvider apiKey={API_KEY}>
<APIProvider solutionChannel='GMP_JS_SAMPLE_rgm-basic-map' apiKey={API_KEY}>
<Map
defaultZoom={8}
defaultCenter={{ lat: -34.397, lng: 150.644 }}
Expand Down
2 changes: 1 addition & 1 deletion samples/rgm-college-picker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const App = () => {
*/
return (
<div className="App">
<APIProvider apiKey={API_KEY} version='beta' >
<APIProvider solutionChannel='GMP_JS_SAMPLE_rgm-college-picker' apiKey={API_KEY} version='beta' >
<SplitLayout rowReverse rowLayoutMinWidth={700}>
<div className="SlotDiv" slot="fixed">
<OverlayLayout ref={overlayLayoutRef}>
Expand Down

0 comments on commit d6bd694

Please sign in to comment.