MTEventLevel

Controls which map events are forwarded from the map object.

  • ESSENTIAL: Low-frequency lifecycle events only (ready, load, moveend, etc.) plus taps.

  • CAMERA_ONLY: Forwards only camera events (move, zoom) in addition to minimal lifecycle.

  • ALL: Default. Forwards all events including high-frequency move/zoom/touch/render (use with caution on low-end devices).

  • OFF: Minimal wiring to keep internal lifecycle (ready/load) functioning; all other events are suppressed.

Entries

Forwards only camera motion events (move, zoom) plus minimal lifecycle (ready/load is implicit). Use this to support overlays that track camera without wiring all touch/render events.

Properties

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns an array containing the constants of this enum type, in the order they're declared.