Skip to content

reconcile routeselected handlers #455

@DennisOSRM

Description

@DennisOSRM

There are now two separate lrmControl.on('routeselected', ...) listeners registered back-to-back. This makes it easy for the handlers to diverge and doubles event dispatch work. Consider merging the route-export logic and the fit/pan logic into a single routeselected handler (or extracting shared pieces into a helper) to keep the event flow easier to reason about.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions