// do whatever you want here
// you could trigger a custom event, for example
and use :
var map = new MyMap(/* your config*/);
On 13-05-23 09:34 AM, Jachym Cepicky wrote:
looking at the documentation and into Map.js, it seems, there is
'addcontrol' event fired, when new OL.Control arrives to map.
I know, it's little bit late for the next release, but it might be nice
feature to have, relatively fast to implement - any idea?