geopf-extensions-openlayers
    Preparing search index...
    interface DrawingOptions {
        collapsed?: boolean;
        cursorStyle?: any;
        defaultStyles?: any;
        draggable?: boolean;
        gutter?: boolean;
        id?: string | number;
        labels?: any;
        layer?: any;
        layerDescription?: { description?: string; title?: string };
        markersList?: any[];
        popup?: { display?: boolean; function?: Function };
        position?: string;
        tools?: {
            display?: boolean;
            edit?: boolean;
            export?: boolean;
            holes?: boolean;
            lines?: boolean;
            measure?: boolean;
            points?: boolean;
            polygons?: boolean;
            remove?: boolean;
            text?: boolean;
            tooltip?: boolean;
        };
    }
    Index
    collapsed?: boolean

    Définit si le widget est replié au démarrage.

    cursorStyle?: any

    Style du curseur lors du dessin.

    defaultStyles?: any

    Styles par défaut pour les objets dessinés.

    draggable?: boolean

    Permet de déplacer le panneau du widget.

    gutter?: boolean

    Ajoute ou retire l’espace autour du panneau.

    id?: string | number

    Identifiant unique du widget.

    labels?: any

    Libellés personnalisés pour les outils et le contrôle.

    layer?: any

    Couche vecteur OpenLayers pour héberger les objets dessinés.

    layerDescription?: { description?: string; title?: string }

    Métadonnées pour le LayerSwitcher.

    Type Declaration

    • Optionaldescription?: string

      Description de la couche de dessin.

    • Optionaltitle?: string

      Titre de la couche de dessin.

    markersList?: any[]

    Liste des marqueurs personnalisés (src, anchor, etc.).

    popup?: { display?: boolean; function?: Function }

    Options de la popup d’édition.

    Type Declaration

    • Optionaldisplay?: boolean

      Affiche la popup à la création d’un dessin.

    • Optionalfunction?: Function

      Fonction personnalisée pour afficher la popup.

    position?: string

    Position CSS du widget sur la carte.

    tools?: {
        display?: boolean;
        edit?: boolean;
        export?: boolean;
        holes?: boolean;
        lines?: boolean;
        measure?: boolean;
        points?: boolean;
        polygons?: boolean;
        remove?: boolean;
        text?: boolean;
        tooltip?: boolean;
    }

    Outils à afficher dans la barre d’outils.

    Type Declaration

    • Optionaldisplay?: boolean

      Outil style.

    • Optionaledit?: boolean

      Outil édition.

    • Optionalexport?: boolean

      Outil export.

    • Optionalholes?: boolean

      Outil polygone avec trous.

    • Optionallines?: boolean

      Outil ligne.

    • Optionalmeasure?: boolean

      Outil mesure.

    • Optionalpoints?: boolean

      Outil point.

    • Optionalpolygons?: boolean

      Outil polygone.

    • Optionalremove?: boolean

      Outil suppression.

    • Optionaltext?: boolean

      Outil texte.

    • Optionaltooltip?: boolean

      Outil info-bulle.