handle the GMaps v2 deprecation