ember-mapbox-gl:Mapbox GL JS的Ember集成

时间:2021-05-14 13:17:50
【文件属性】:
文件名称:ember-mapbox-gl:Mapbox GL JS的Ember集成
文件大小:291KB
文件格式:ZIP
更新时间:2021-05-14 13:17:50
JavaScript ember-mapbox-gl 与Ember集成。 安装 ember install ember-mapbox-gl 然后,将您的Mapbox访问令牌添加到config/environment.js : module . exports = function ( environment ) { let ENV = { 'mapbox-gl' : { accessToken : 'ACCESS TOKEN HERE' } , } 兼容性 Ember.js v3.16或更高版本 Ember CLI v2.13或更高版本 Node.js v10或更高版本 API文档 请参阅详细的。 例子 注意:以下示例使用 。 将以下地图选项添加到config/environment.js以设置地图样式,设置默认缩放级别并提供默认中心点: 'mapbox-gl' : {
【文件预览】:
ember-mapbox-gl-master
----ember-cli-build.js(364B)
----testem.js(753B)
----yarn.lock(588KB)
----.eslintrc.js(1KB)
----.npmignore(460B)
----jsconfig.json(141B)
----.ember-cli(280B)
----.travis.yml(1KB)
----config()
--------deploy.js(851B)
--------environment.js(90B)
--------ember-try.js(2KB)
--------addon-docs.js(290B)
----LICENSE.md(1KB)
----README.md(3KB)
----API.md(7KB)
----addon()
---------private()
--------utils()
--------components()
--------.gitkeep(0B)
--------templates()
----.template-lintrc.js(97B)
----.editorconfig(367B)
----tests()
--------integration()
--------index.html(1KB)
--------test-helper.js(290B)
--------helpers()
--------dummy()
--------unit()
----blueprints()
--------ember-mapbox-gl()
----.gitignore(369B)
----.prettierrc.js(77B)
----app()
--------components()
--------.gitkeep(0B)
----index.js(740B)
----.watchmanconfig(65B)
----.eslintignore(240B)
----package.json(3KB)

网友评论