google-maps-react
google-maps-react copied to clipboard
Using the GoogleAPIWrapper with a proxy server/endpoint
I'm trying to incorporate a proxy server to store a google maps api key for my project and am having a hard time figuring out how to transform the default GoogleAPIWrapper (see below) into something I can use to get the stored API key from a proxy/endpoint. Any thoughts for what need to change on the front-end for this to work?
export default GoogleApiWrapper({ apiKey: 'YOUR_GOOGLE_MAPS_API_KEY_GOES_HERE' })(MapContainer);