如何设置 ember-simple-google-maps 环境变量?

How can I set ember-simple-google-maps env variables?

正在尝试配置 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.

好的,这样就完成了:

'ember-simple-google-maps': {
  url: 'https://maps.googleapis.com/maps/api/js',
  version: '3.34',
  apiKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
}