Can I change/set the Google Maps API Key dynamically from JavaScript?

后端 未结 2 1551
长情又很酷
长情又很酷 2021-01-03 04:20

I\'m faced with a problem with a small web application I\'m developping: My HTML-source will be integrated into the HTML source on another site. I\'m using a Google Map in m

2条回答
  •  一整个雨季
    2021-01-03 04:46

    I just blogged a would-be solution to this problem. Take a look and let me know what you think. It's a context processor that dynamically loads the key based on the domain in the request.

提交回复
热议问题