()
return Transit()
Transit layer.

    Adds information about public transport lines to the
    map. This only affects region for which Google has
    `public transport information
    <https://www.google.com/landing/transit/cities/index.html>`_.

    :returns:
        A :class:`gmaps.Transit` widget.

    :Examples:

    ::

        # map centered on London
        >>> fig = gmaps.figure(center=(51.5, -0.2), zoom_level=11)
        >>> fig.add_layer(gmaps.transit_layer())
        >>> fig
Transit layer.
Transit layer .
def transit_layer():
    """
    Transit layer.

    Adds information about public transport lines to the
    map. This only affects region for which Google has
    `public transport information
    <https://www.google.com/landing/transit/cities/index.html>`_.

    :returns:
        A :class:`gmaps.Transit` widget.

    :Examples:

    ::

        # map centered on London
        >>> fig = gmaps.figure(center=(51.5, -0.2), zoom_level=11)
        >>> fig.add_layer(gmaps.transit_layer())
        >>> fig
    """
    return Transit()
def transit_layer ( ) : return Transit ( )