Esri / wind-js

An demo animation of wind on a Canvas layer in the JSAPI
MIT License
735 stars 214 forks source link

Zooming too far out causes failure #5

Open ghost opened 10 years ago

ghost commented 10 years ago

As title, zooming the map out to the point where the upper or lower edge of the "world" is visible causes the animation to fail.

Confirmed in Chrome 27.0.1453.94 m and Firefox 27.0

windy_failure

chelm commented 10 years ago

Ahh yes let me see whats going on with this

ghost commented 10 years ago

Further investigation shows it's not when the top or bottom edge is visible, it's when the visible map is wider than 360 degrees (zoom level 2 in my browser). I guess it fails because of trying to wrap over a grid wider than 360 degrees.

chelm commented 10 years ago

oh! I think I can fix this pretty fast.

ilblog commented 9 years ago

Well I had this bug too. It is caused by wrongly sequenced parameters in start method

FaizanHaq commented 8 years ago

Hi, any update regarding this issue?

xingwujie commented 7 years ago

when i change the extent of the map, this issue will occur。and the map.geographicExtent changes everyday。

EddoH commented 4 years ago

Anyone have some pointers on fixing this issue? I'm trying to use the viz with my own view, but somehow when width/height/ and extent parameters passed to the start() method are not 100% accurate I get this issue. Not sure where to look for the problem though.