o
    Ýñhì  ã                   @   s    d dl mZ G dd„ deƒZdS )é   )Ú	JSONMixinc                   @   s   e Zd ZdZ	ddd„ZdS )Ú	ViewStateaø  An object that represents where the state of a viewport, essentially where the screen is focused.

    If you have two dimensional data and you don't want to set this manually,
    see :func:`pydeck.data_utils.viewport_helpers.compute_view`.


    Parameters
    ---------
    longitude : float, default None
        x-coordinate of focus
    latitude : float, default None
        y-coordinate of focus
    zoom : float, default None
        Magnification level of the map, usually between 0 (representing the whole world)
        and 24 (close to individual buildings)
    min_zoom : float, default None
        Least mangified zoom level the user can navigate to
    max_zoom : float, default None
        Most magnified zoom level the user can navigate to
    pitch : float, default None
        Up/down angle relative to the map's plane, with 0 being looking directly at the map
    bearing : float, default None
        Left/right angle relative to the map's true north, with 0 being aligned to true north
    Nc           	      K   sB   || _ || _|| _|| _|| _|| _|| _|r| j |¡ d S d S )N)	Ú	longitudeÚlatitudeÚzoomÚmin_zoomÚmax_zoomÚpitchÚbearingÚ__dict__Úupdate)	Úselfr   r   r   r   r   r	   r
   Úkwargs© r   úN/var/www/vscode/kcb/lib/python3.10/site-packages/pydeck/bindings/view_state.pyÚ__init__   s   ÿzViewState.__init__)NNNNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r      s    ÿr   N)Ú
json_toolsr   r   r   r   r   r   Ú<module>   s    