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

VUE #19

Open
mhsystem opened this issue Apr 28, 2018 · 3 comments
Open

VUE #19

mhsystem opened this issue Apr 28, 2018 · 3 comments

Comments

@mhsystem
Copy link

Hello, how can I use it in Vue2?

@mudin
Copy link

mudin commented May 21, 2018

@mhsystem I made a wrapper of this package for Vue
https://www.npmjs.com/package/vue2-leaflet-rotatedmarker

@jkatagi
Copy link

jkatagi commented Jun 6, 2018

@mhsystem You can use by import 'leaflet-rotatedmarker' in your Vue component file.

@jkatagi
Copy link

jkatagi commented Jun 7, 2018

@mhsystem
Oh, I tried both bbecquet/Leaflet.RotatedMarker and imudin/vue2-leaflet-rotatedmarker in Vue2.
And I found out that when updating a direction of the marker in computed, bbecquet/Leaflet.RotatedMarker cannot update to new direction until zoom in/out the map,
but imudin/vue2-leaflet-rotatedmarker can update immediately.

So I recommend you to use imudin/vue2-leaflet-rotatedmarker in Vue2.

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