Options
All
  • Public
  • Public/Protected
  • All
Menu

Class control

Hierarchy

  • control

Index

Methods

function

  • Creates a control with the given options.

    Parameters

    Returns Control

Static attribution

  • Creates an attribution control.

    Parameters

    Returns Attribution

Static layers

  • Creates an attribution control with the given layers. Base layers will be switched with radio buttons, while overlays will be switched with checkboxes.

    Parameters

    • Optional baseLayers: any
    • Optional overlays: any
    • Optional options: LayersOptions

    Returns Layers

Static messagebox

Static scale

  • Creates an scale control with the given options.

    Parameters

    Returns Scale

Static zoom

  • Creates a zoom control.

    Parameters

    Returns Zoom