Hierarchy (View Summary)

Constructors

  • Parameters

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

      options for function call.

      • Optionalgeodesic?: boolean

        If true, azimuth will be computed on the global sphere. Otherwise, it 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.