geopf-extensions-openlayers
    Preparing search index...

    Class MeasureLength

    Hierarchy (View Summary)

    Index
    • Parameters

      • options: {
            geodesic?: boolean;
            id?: number;
            layerDescription?: { description?: string; title?: string };
            styles?: { finish?: any; pointer?: any; start?: any };
            tooltip?: any;
            unit?: string;
        }

        options for function call.

        • Optionalgeodesic?: boolean

          If true, length will be computed on the global sphere using the ol.Sphere.haversineDistance() function. Otherwise, length will be computed on the projected plane.

        • Optionalid?: number

          Ability to add an identifier on the widget (advanced option)

        • OptionallayerDescription?: { description?: string; title?: string }

          Layer informations to be displayed in LayerSwitcher widget (only if a LayerSwitcher is also added to the map)

          • Optionaldescription?: string

            Layer description to be displayed in LayerSwitcher

          • Optionaltitle?: string

            Layer title to be displayed in LayerSwitcher

        • Optionalstyles?: { finish?: any; pointer?: any; start?: any }

          styles used when drawing. Specified with following properties.

          • Optionalfinish?: any

            Line Style when finished drawing. Specified with an ol.style.Style object.