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

Fire update event from VML renderer #4956

Merged
merged 1 commit into from
Sep 27, 2016
Merged

Fire update event from VML renderer #4956

merged 1 commit into from
Sep 27, 2016

Conversation

perliedman
Copy link
Member

When refactoring updates, we accidentally created #4950, so vector drawing is currently broken for VML (IE8).

This adds firing the update event from the VML renderer, which is required since it doesn't use it's parents _update method, but rather L.Renderer's _update, which doesn't fire this event.

I have verified that the GeoJSON debug page works again in IE8 after this fix.

@IvanSanchez
Copy link
Member

LGTM

@IvanSanchez IvanSanchez merged commit d10077e into master Sep 27, 2016
@IvanSanchez IvanSanchez deleted the fix-vml-update branch September 27, 2016 18:27
@ghost
Copy link

ghost commented Oct 4, 2016

Are you sure rendering still works on IE11, Chrome, Edge? From 1.0.0 to 1.0.1 my canvas rendering code (L.VectorGrid derivate) stopped working.

@IvanSanchez
Copy link
Member

@t-sch VectorGrid bugs don't belong to this repo.

@ghost
Copy link

ghost commented Oct 4, 2016

I didn't say it is a VectorGrid bug but that code that worked on 1.00RC3 and 1.0.0 doesn't work anymore in 1.01.

@IvanSanchez
Copy link
Member

fiddle/codepen/playground that displays this behaviour, or it didn't happen.

@perliedman
Copy link
Member Author

@t-sch vector rendering most definitely works in Chrome; haven't tested personally, but would be very surprised if it didn't work in IE11/Edge and we didn't hear about it.

That doesn't mean there aren't edge cases where there has been regressions between release candidates and 1.0.1, so if you believe you've discovered something like that, please open a new issue with details (preferably running code like @IvanSanchez says) regarding the problems you're seeing.

@ghost
Copy link

ghost commented Oct 4, 2016

I'm currently trying to locate the reason, a comparison between 1.0.0 and 1.0.1 sources didn't show suspicious code.

@perliedman
Copy link
Member Author

perliedman commented Oct 5, 2016

@t-sch I think this PR is of interest for you: Leaflet/Leaflet.VectorGrid#15

In short, Leaflet now checks an error parameter, and by accident VectorGrid always passed along a value for that parameter, even when there's no error.

@ghost
Copy link

ghost commented Oct 5, 2016

Yesss!

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.

2 participants