@_with_element
def map(self, element, data=None, zoom=None, use_container_width=True):
    "Display a map with points on it.\n\n        This is a wrapper around st.pydeck_chart to quickly create scatterplot\n        charts on top of a map, with auto-centering and auto-zoom.\n\n        When using this command, we advise all users to use a personal Mapbox\n        token. This ensures the map tiles used in this chart are more\n        robust. You can do this with the mapbox.token config option.\n\n        To get a token for yourself, create an account at\n        https://mapbox.com. It's free! (for moderate usage levels) See\n        https://docs.streamlit.io/en/latest/cli.html#view-all-config-options for more\n        info on how to set config options.\n\n        Parameters\n        ----------\n        data : pandas.DataFrame, pandas.Styler, numpy.ndarray, Iterable, dict,\n            or None\n            The data to be plotted. Must have columns called 'lat', 'lon',\n            'latitude', or 'longitude'.\n        zoom : int\n            Zoom level as specified in\n            https://wiki.openstreetmap.org/wiki/Zoom_levels\n\n        Example\n        -------\n        >>> import pandas as pd\n        >>> import numpy as np\n        >>>\n        >>> df = pd.DataFrame(\n        ...     np.random.randn(1000, 2) / [50, 50] + [37.76, -122.4],\n        ...     columns=['lat', 'lon'])\n        >>>\n        >>> st.map(df)\n\n        .. output::\n           https://share.streamlit.io/0.53.0-SULT/index.html?id=9gTiomqPEbvHY2huTLoQtH\n           height: 600px\n\n        "
    import streamlit.elements.map as streamlit_map
    element.deck_gl_json_chart.json = streamlit_map.to_deckgl_json(data, zoom)
    element.deck_gl_json_chart.use_container_width = use_container_width
Display a map with points on it.

This is a wrapper around st.pydeck_chart to quickly create scatterplot
charts on top of a map, with auto-centering and auto-zoom.

When using this command, we advise all users to use a personal Mapbox
token. This ensures the map tiles used in this chart are more
robust. You can do this with the mapbox.token config option.

To get a token for yourself, create an account at
https://mapbox.com. It's free! (for moderate usage levels) See
https://docs.streamlit.io/en/latest/cli.html#view-all-config-options for more
info on how to set config options.

Parameters
----------
data : pandas.DataFrame, pandas.Styler, numpy.ndarray, Iterable, dict,
    or None
    The data to be plotted. Must have columns called 'lat', 'lon',
    'latitude', or 'longitude'.
zoom : int
    Zoom level as specified in
    https://wiki.openstreetmap.org/wiki/Zoom_levels

Example
-------
>>> import pandas as pd
>>> import numpy as np
>>>
>>> df = pd.DataFrame(
...     np.random.randn(1000, 2) / [50, 50] + [37.76, -122.4],
...     columns=['lat', 'lon'])
>>>
>>> st.map(df)

.. output::
   https://share.streamlit.io/0.53.0-SULT/index.html?id=9gTiomqPEbvHY2huTLoQtH
   height: 600px
@_with_element
def map(self, element, data=None, zoom=None, use_container_width=True):
    "Display a map with points on it.\n\n        This is a wrapper around st.pydeck_chart to quickly create scatterplot\n        charts on top of a map, with auto-centering and auto-zoom.\n\n        When using this command, we advise all users to use a personal Mapbox\n        token. This ensures the map tiles used in this chart are more\n        robust. You can do this with the mapbox.token config option.\n\n        To get a token for yourself, create an account at\n        https://mapbox.com. It's free! (for moderate usage levels) See\n        https://docs.streamlit.io/en/latest/cli.html#view-all-config-options for more\n        info on how to set config options.\n\n        Parameters\n        ----------\n        data : pandas.DataFrame, pandas.Styler, numpy.ndarray, Iterable, dict,\n            or None\n            The data to be plotted. Must have columns called 'lat', 'lon',\n            'latitude', or 'longitude'.\n        zoom : int\n            Zoom level as specified in\n            https://wiki.openstreetmap.org/wiki/Zoom_levels\n\n        Example\n        -------\n        >>> import pandas as pd\n        >>> import numpy as np\n        >>>\n        >>> df = pd.DataFrame(\n        ...     np.random.randn(1000, 2) / [50, 50] + [37.76, -122.4],\n        ...     columns=['lat', 'lon'])\n        >>>\n        >>> st.map(df)\n\n        .. output::\n           https://share.streamlit.io/0.53.0-SULT/index.html?id=9gTiomqPEbvHY2huTLoQtH\n           height: 600px\n\n        "
    import streamlit.elements.map as streamlit_map
    element.deck_gl_json_chart.json = streamlit_map.to_deckgl_json(data, zoom)
    element.deck_gl_json_chart.use_container_width = use_container_width