added ui-map-loaded event to signal the map has been displayed