【发布时间】:2018-11-12 21:46:40
【问题描述】:
正在尝试为ember-simple-google-maps 配置设置。
let ENV = {
modulePrefix: 'app-name',
environment,
rootURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {},
EXTEND_PROTOTYPES: {
Date: false
}
},
APP: {},
firebase: {
apiKey: "xxxxxx"
},
GOOGLE_MAPS_VERSION: '3.34',
GOOGLE_MAPS_API_KEY: 'xxxxxxxxxx'
};
根据文档,我应该能够设置这些变量,但它不起作用。版本未设置为最新且未找到 API。有什么想法吗?我确定我遗漏了一些非常明显的东西......
Aspects of the Google Maps Installation can be customized, by supplying environment variables to the server process.
【问题讨论】:
标签: javascript google-maps ember.js configuration