def get_lon_lat(self, lonlat):
        if isinstance(lonlat, Point):
            lon, lat = lonlat.coords
        else:
            lon, lat = lonlat
        return lon, lat
Unpacks longitude, latitude from GEOS Points and 2-tuples.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/maps/google/zoom.py/GoogleZoom.get_lon_lat