Handler

Abstract class for map interaction handlers

Methods

Method Returns Description
enable() this

Enables the handler

disable() this

Disables the handler

enabled() Boolean

Returns true if the handler is enabled

Extension methods

Classes inheriting from Handler must implement the two following methods:
Method Returns Description
addHooks()

Called when the handler is enabled, should add event hooks.

removeHooks()

Called when the handler is disabled, should remove the event hooks added previously.

v1.1.0
Props Wrld.Prop
Themes Wrld.themes
Heatmaps Wrld.Heatmap
Events Event objects
Services (Optional) WrldPoiApi