socib / Leaflet.TimeDimension

Add time dimension capabilities on a Leaflet map.
MIT License
435 stars 138 forks source link

Time Dimension with Leaflet Git version and non integer zoom cause flicker #61

Open ClaudioCas opened 8 years ago

ClaudioCas commented 8 years ago

Dear All, the new beta of leaflet introduces some parameter to change granularity of zoom level (zoomDelta) and allow you to have zoom with fractional value. When a fractional zoom level is set, the time dimension animation flicker when change step. You can see and example in the following image.

leaflettimedimensionflicker

ClaudioCas commented 8 years ago

I update the Leaflet libray to 1.0.0 Rc1 but the issue still present. Thanks

ClaudioCas commented 8 years ago

Hi all, are there any updates about this issue? May I create a jsfiddle to show the issue?

bielfrontera commented 8 years ago

Hi @ClaudioCas , can you check if you still have this issue? I can't reproduce it. Example 2 now has a fractional zoom and zoomDelta, and its working.

ClaudioCas commented 8 years ago

Dear Bielfrontera, thanks for your reply (and your great plugin). I do some other several test and seems that the issue is not strictly releated with the fractional zoom, but probably is some bug with Leaflet/TimeDimensione and Firefox.

I have a pc with Firefox 48 and Windows 7.

In my system the issue can be reproduce with the following steps:

issueanimation issueanimation2

Let me know if you can reproduce the issue and what is your opinion abut that... Thanks Claudio

Update : I notice some flicker also in Internet Explorer 11 when the animation is playing http://apps.socib.es/Leaflet.TimeDimension/examples/example2.html