Sign up (with export icon)

MapperModelToViewPositionEventData

Api-typedef icon typedef

Data pipeline object that can store and pass data between callbacks. The callback should add the viewPosition value to that object with calculated the view position.

Properties

  • Chevron-right icon

    isPhantom : boolean | undefined

    Should be set to true if the model position to map is pointing to a place in model tree which no longer exists. For example, it could be an end of a removed model range.

  • Chevron-right icon

    Mapper instance that fired the event.

  • Chevron-right icon

    The model position.

  • Chevron-right icon

    viewPosition : ViewPosition | undefined

    The callback should add the viewPosition value to that object with calculated the view position.