Get a link to open street map pointing on this IP's geolocation.

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

    Returns:
        str: a link to open street map pointing on this IP's geolocation.

def open_street_map_geoloc_link(data):
    """
    Get a link to open street map pointing on this IP's geolocation.

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

    Returns:
        str: a link to open street map 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
    return 'https://www.openstreetmap.org/search' \
           '?query=%s%%2C%s#map=7/%s/%s' % (lat, lon, lat, lon)