Skip to content

Potential Refactoring: Move center point state from Minimap/View to Map component #8

@rubenthoms

Description

@rubenthoms

Currently, View and Minimap handle their own state and send a new center point to Map which then updates the other child components. On the one hand, this makes View and Minimap independent from a parent component but on the other hand, one information is handled in several states. We should observe how the components perform, what requirements are developing over time and see if independency of View and Minimap is required at all. It might be beneficial to use one state only for storing the center point information and derive the offset values from it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    potentialA potential issuerefactoringImprovement of existing code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions