-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Component as icon #295
Comments
We had a pretty similar problem in the past. As far as I know there is currently no such direct feature. |
interesting solution, can you be more specific, are you generating svg from a Vue component? if yes, what tool? |
I am simply building the SVG string and put it into a data URL. |
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?
The text was updated successfully, but these errors were encountered: