Javascript 如何设置ember simple google maps环境变量?
正在尝试配置的设置 根据文档,我应该能够设置这些变量,但它不起作用。版本未设置为最新版本,未找到API。有什么想法吗?我肯定我错过了一些非常明显的东西Javascript 如何设置ember simple google maps环境变量?,javascript,google-maps,ember.js,configuration,Javascript,Google Maps,Ember.js,Configuration,正在尝试配置的设置 根据文档,我应该能够设置这些变量,但它不起作用。版本未设置为最新版本,未找到API。有什么想法吗?我肯定我错过了一些非常明显的东西 Aspects of the Google Maps Installation can be customized, by supplying environment variables to the server process. 好的,就是这样做的: 'ember-simple-google-maps': { url: 'https:/
Aspects of the Google Maps Installation can be customized, by supplying environment variables to the server process.
好的,就是这样做的:
'ember-simple-google-maps': {
url: 'https://maps.googleapis.com/maps/api/js',
version: '3.34',
apiKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
}
'ember-simple-google-maps': {
url: 'https://maps.googleapis.com/maps/api/js',
version: '3.34',
apiKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
}