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

L.DomUtil.getPosition should return a fallback value (for VML in IE8) #3998

Merged
merged 1 commit into from
Nov 9, 2015

Conversation

IvanSanchez
Copy link
Member

For some weird reason I don't totally understand, the VML container in IE8 is not initialized with a call to DomUtil.setPosition. The consequence is that calls to map.setView() or map.fitBounds() trigger an exception whenever there is a VML renderer in the map.

A default/fallback value for L.DomUtil.getPosition fixes the issue.

mourner added a commit that referenced this pull request Nov 9, 2015
L.DomUtil.getPosition should return a fallback value (for VML in IE8)
@mourner mourner merged commit db3604f into master Nov 9, 2015
@mourner mourner deleted the null-getposition branch November 9, 2015 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants