google-maps-react icon indicating copy to clipboard operation
google-maps-react copied to clipboard

Using the GoogleAPIWrapper with a proxy server/endpoint

Open zah693 opened this issue 4 years ago • 0 comments

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);

zah693 avatar Apr 26 '21 20:04 zah693