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

Moves updateMarkers inside showCenterMarkerChanged() into a conditional #72

Merged
merged 1 commit into from
Mar 2, 2015

Conversation

livtanong
Copy link
Contributor

This is to prevent unnecessary calls to updateMarkers when dragging the map. Only triggers when showCenterMarker is true. This fixes #69, albeit incompletely. This will still fail if showCenterMarker is true.

@ebidel
Copy link
Contributor

ebidel commented Mar 2, 2015

👍

ebidel added a commit that referenced this pull request Mar 2, 2015
Moves updateMarkers inside showCenterMarkerChanged() into a conditional
@ebidel ebidel merged commit b513d63 into GoogleWebComponents:master Mar 2, 2015
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

Successfully merging this pull request may close these issues.

fitToMarkers resists dragging
2 participants