()
| 280 | } |
| 281 | |
| 282 | insertMapboxGLScripts() { |
| 283 | let me = this, |
| 284 | basePath = me.downloadPath + me.version + '/'; |
| 285 | |
| 286 | Promise.all([ |
| 287 | DomAccess.loadScript( basePath + 'mapbox-gl.js'), |
| 288 | DomAccess.loadStylesheet(basePath + 'mapbox-gl.css') |
| 289 | ]).then(() => { |
| 290 | me.scriptsLoaded = true |
| 291 | }) |
| 292 | } |
| 293 | |
| 294 | /** |
| 295 | * @param {Object} data |
no test coverage detected