Fix async throws in getGeometryType, getInfoWindow and getMapMetadata