Class representing zoom buttons for map

Hierarchy

  • Control
    • ZoomButtons

Constructors

Properties

Methods

Constructors

  • Create a zoom control

    Parameters

    • map: any

      Map object

    • Optionalstore: any

      Store

    Returns ZoomButtons

Properties

map: any
store?: any

Methods

  • Change zoom level

    Parameters

    • delta: number

      Delta value for zooming in or out

    • iconElement: any

      Zoom icon DOM element

    Returns void