Refactor KMLViewerListener