Skip to content

Component as icon #295

Closed
Closed
@KaevN

Description

@KaevN

I'm trying to convert a project from leaflet to openlayers. In my project, I need to display custom icons on the map, but the problem is that for this I used a component that changes visually depending on the props. ol-style-icon only accepts the scr of the icon itself, this does not suit me, is there an option to use a Vue component as an icon?
image

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