Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
flet / core / map / map_layer.py
Size: Mime:
from typing import Any, Optional

from flet.core.control import Control
from flet.core.ref import Ref


class MapLayer(Control):
    """
    Abstract class for all map layers.
    """

    def __init__(
        self,
        #
        # Control
        #
        ref: Optional[Ref] = None,
        visible: Optional[bool] = None,
        data: Any = None,
    ):
        Control.__init__(
            self,
            ref=ref,
            visible=visible,
            data=data,
        )