Get a link to google maps pointing on this IP's geolocation.

    Args:
        data (str/tuple): IP address or (latitude, longitude).

    Returns:
        str: a link to google maps pointing on this IP's geolocation.

def google_maps_geoloc_link(data):
    """
    Get a link to google maps pointing on this IP's geolocation.

    Args:
        data (str/tuple): IP address or (latitude, longitude).

    Returns:
        str: a link to google maps pointing on this IP's geolocation.
    """
    if isinstance(data, str):
        lat_lon = ip_geoloc(data)
        if lat_lon is None:
            return ''
        lat, lon = lat_lon
    else:
        lat, lon = data
    loc = '%s,%s' % (lat, lon)
    return 'https://www.google.com/maps/place/@%s,17z/' \
           'data=!3m1!4b1!4m5!3m4!1s0x0:0x0!8m2!3d%s!4d%s' % (
            loc, lat, lon)