Skip to content

the map crashes if the BoundingBox is large in scrollTo #44

@Husoid

Description

@Husoid

I'm showing the area of all markers. I'm getting the BoundingBox calculation and doing scrollTo

viewModelScope.launch { val bb = viewState.tsListForMap.tsListToBoundingBox() viewState.mapState?.scrollTo(bb) }

my BoundingBox = BoundingBox(xLeft=1.0886415583333333, yTop=-Infinity, xRight=0.46815065, yBottom=Infinity)

the card crashes and a white screen appears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions