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

Marker not moving as projection.fromLatLngToDivPixel requires correct LatLng object #21

Closed
Flyrell opened this issue Jun 3, 2019 · 1 comment

Comments

@Flyrell
Copy link
Contributor

Flyrell commented Jun 3, 2019

Hi.

After playing with your library for a while I realized that the markers do not stay at the same place on map. I was wondering why and realized that it happens because projection.fromLatLngToDivPixel returns incorrect object. There's probably been an update and it does not accept the object you're passing.

So, I edited that to pass LatLng object and it seems to be working properly. PR is available here

@Flyrell Flyrell closed this as completed Jun 4, 2019
@Flyrell
Copy link
Contributor Author

Flyrell commented Jun 4, 2019

Merged in #22

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

1 participant