Add spatial events directly to map.  The layer isn't added to the map un...

...til the map panel is rendered

@dnahodil - fixes your issue.