Kibana's require.js error when defining >1 bettermap #952

Closed
brainstorm opened this Issue Feb 14, 2014 · 0 comments

Projects

None yet

2 participants

@brainstorm

When trying to set more than one bettermap, the map's loading bar keeps loading but nothing happens.

The following backtrace shows up in the Chrome JS console:

Error: Map container is already initialized.
    at e.Map.e.Class.extend._initContainer (http://localhost/kibana/app/panels/bettermap/module.js?r=928332b:4:24865)
    at e.Map.e.Class.extend.initialize (http://localhost/kibana/app/panels/bettermap/module.js?r=928332b:4:18220)
    at new b (http://localhost/kibana/app/panels/bettermap/module.js?r=928332b:4:2574)
    at Object.e.map (http://localhost/kibana/app/panels/bettermap/module.js?r=928332b:4:29835)
    at Object.<anonymous> (http://localhost/kibana/app/panels/bettermap/module.js?r=928332b:8:1609)
    at http://localhost/kibana/app/app.js?r=928332b:21:1271
    at Object.f.$eval (http://localhost/kibana/app/app.js?r=928332b:8:9658)
    at Object.f.$apply (http://localhost/kibana/app/app.js?r=928332b:8:9765)
    at http://localhost/kibana/app/app.js?r=928332b:21:1251
    at Object.u.execCb (http://localhost/kibana/vendor/require/require.js:4:12214) 
@rashidkpc rashidkpc added the bug label Feb 24, 2014
@rashidkpc rashidkpc closed this in 5a0dabd Feb 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment