Added markers to global array, can now trigger events from outside