[OpenLayers-Users] Bing Maps Key in Openlayers

Geir Aalberg geira at met.no
Tue Sep 3 01:42:08 PDT 2019


The canonical way of handling API keys is to set up a backend on your 
server which adds the keys and acts as a proxy. There is no secure way 
to hide API keys in Javascript apps on the browser.

https://www.rockyourcode.com/secret-keys-in-react/

-geir


On 8/30/19 09:21, divya mittal wrote:
> Hi,
> 
> I have started using openlayers recently and using Bing maps as baselayer.
> 
> While consuming Bing Maps I need to specify the key at the client side. Is
> there a way out to hide the Bing map key ?
> 
> Please advise.
> 
> Thanks !


More information about the Users mailing list