WemapMapInteractionOptions
Interface: WemapMapInteractionOptions
Opt-in automatic POI userflow wiring. Off by default. Each toggle is independent.
Properties
autoHighlightSearch?
optionalautoHighlightSearch?:boolean
When true, WemapMap.search highlights the result pinpoints and
filters every other pinpoint out of the default layers. When false,
WemapMap.search only returns results and leaves the map untouched.
autoSelectOnClick?
optionalautoSelectOnClick?:boolean
When true, clicking a stylesheet POI selects it (replacing any previous
selection), and clicking the empty map background clears the selection.
Equivalent to wiring WemapMap.onPoiClick to
WemapMap.setPoiSelected by hand.
centerOnSelect?
optionalcenterOnSelect?:boolean
When autoSelectOnClick is on, also ease the camera to the selected POI.
Defaults to true; set false to keep the camera still on select.