Adding KML functionality to the map