Interface JMaplibreEventData

JMaplibreEventData

This interface describe optionnal data we can pass to Map events in order to transport useful information while consuming the events in your application

interface JMaplibreEventData {
    preventNavigationStepPush?: boolean;
    stopJMapEventPropagation?: boolean;
}

Properties

preventNavigationStepPush?: boolean

preventNavigationStepPush

Used in the context of programmatic navigation (ex: while stepping back in the navigation history) if true it will prevent navigation destination to be pushed in the Navigation History stack

stopJMapEventPropagation?: boolean

stopJMapEventPropagation

if true will prevent JMap event to be fired