[go: nahoru, domu]

Skip to content
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

Icon Size #40

Closed
nathanaelphilip opened this issue Jul 1, 2021 · 3 comments
Closed

Icon Size #40

nathanaelphilip opened this issue Jul 1, 2021 · 3 comments

Comments

@nathanaelphilip
Copy link

Is your feature request related to a problem? Please describe.
It’d be nice to be able to pass an icon object instead of just a url. That way we can size the icon for each marker.

Describe the solution you'd like
Expand the icon prop to handle and object or a string.

@fawmi
Copy link
Owner
fawmi commented Jul 2, 2021

This is already possible, i updated the docs with an example.

https://vue-map.netlify.app/components/marker.html#add-custom-icon

@fawmi fawmi closed this as completed Jul 2, 2021
@nathanaelphilip
Copy link
Author

@fawmi thank you! :) thanks for putting this plugin together – it’s very well thought out.

@mstnorris
Copy link

@fawmi is it possible to use another Vue component as the icon, e.g. using the FontAwesome Vue package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants