Tim Schaub 38752f4700 Properly reset the dirty flag
Currently, the dirty flag is never reset (to false).  This is a bug.  Because renderFrame is called very often (every layer render gets called when every other layer needs to re-render), it is criticial to know when we can bail out early.  The dirty flag is currently the way that the vector layer renderer knows that it needs to do more work.  On an empty cache, the renderFrame method of the vector layer renderer is called ~30 times for a single zoom in the vector layer example (due to tiles loading on other layers).  Without this change, we miss the fast path out and clear/re-render the canvas all 30 times.  With this change, we are only clear the canvas and redraw 6 times in a typical zoom animation.
2013-05-17 23:22:07 -06:00
2013-05-15 23:44:22 +02:00
2013-05-17 23:22:07 -06:00
2013-05-14 20:12:05 +02:00
2013-04-02 16:16:45 +02:00
2013-02-12 15:47:55 +01:00
2013-05-10 10:24:11 +02:00
2013-03-22 10:59:09 +01:00
2013-04-03 13:04:37 +02:00

OpenLayers 3

Travis CI Status

Welcome to OpenLayers 3!

To see OpenLayers 3 in action you can look at the live examples on http://openlayers.github.io/ol3/master/examples/. If you want to contribute to OpenLayers 3 please read the CONTRIBUTING page.

Description
Languages
JavaScript 99%
CSS 0.6%
Handlebars 0.3%
Shell 0.1%