Skip to content

[FEATURE]: exposing a marker collection to MapLibre class #146

@kubikpatrick

Description

@kubikpatrick

Is your feature request related to a problem?

kinda, currently, we need to manually tracker markers by making a collection or a set of ids,

Describe the solution you'd like

i'd like to have something similar to EF's DbContext

map.Markers.Add(blablabla);
or
simply exposing a marker array

Describe alternatives you've considered

No response

MapLibre JS Reference

i think it exists but i couldn't find it,

i know blazor maplibre has an internal array containing markers but idk if it's the best solution

Example Usage

map.Markers.AddAsync(id, position, options);

or if you think it's too over-engineered


map.Markers // or some readonly collection

Additional context

No response

Contribution

  • I'm interested in implementing this feature with guidance

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions