Maps API for JavaScript Developer's Guide

H.mapevents.Pointer.Buttons

Type Definition Summary

This property indicates which pointer device buttons are being pressed. The value of the property is a bit mask, where:

[ For full details, see the Type Definition Details ]

Type Definition Description

This property indicates which pointer device buttons are being pressed. The value of the property is a bit mask, where:

  • 0: Indicates that no button is pressed
  • 1: Indicates that the left mouse button is pressed or Touch contact or Pen contact
  • 2: Indicates that the right mouse button is pressed, or Pen contact with barrel button pressed
  • 4: Indicates that the middle mouse button is pressed