Skip to content

Feature Request: Add InitialPosition to CurrentLocationLayer #158

@WD-J

Description

@WD-J

Is your feature request related to a problem? Please describe.
The location of a user shouldn't have to be yielded in a stream for the CurrentLocationLayer to initialize.

Describe the solution you'd like
Similar to the initialData field in StreamBuilders, it would be very useful to have an initialPosition parameter available in the CurrentLocationLayer.

I currently use a workaround in which I yield the users location in a stream, on listen. This is a suboptimal pattern, and it would be much cleaner to simply pass initial data to the CurrentLocationLayer.

Describe alternatives you've considered
N/A

Additional context
N/A

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