<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Don't forget to also use the experimental CSS theme for OpenLayers since it adds stuff needed for GPU acceleration (afaik):</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><a href="https://github.com/ahocevar/openlayers/blob/mobile-wmts-vienna/theme/default/style.css" target="_blank">https://github.com/ahocevar/openlayers/blob/mobile-wmts-vienna/theme/default/style.css</a><br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><a href="https://github.com/ahocevar/openlayers/blob/mobile-wmts-vienna/theme/default/style.mobile.css" target="_blank">https://github.com/ahocevar/openlayers/blob/mobile-wmts-vienna/theme/default/style.mobile.css</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/21 Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org" target="_blank">ahocevar@opengeo.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For those of you who want to test, the live example site also provides<br>
all examples that OpenLayers ships with, and you can test<br>
<a href="http://ahocevar.github.com/openlayers/mobile-wmts-vienna/lib/OpenLayers.js" target="_blank">http://ahocevar.github.com/openlayers/mobile-wmts-vienna/lib/OpenLayers.js</a><br>
with your own applications. Note that the TileManager is not enabled<br>
by default. To add it, configure your map with the following option:<br>
<br>
tileManager: new OpenLayers.TileManager()<br>
<br>
The whole source code is available at<br>
<a href="http://github.com/ahocevar/openlayers/tree/mobile-wmts-vienna" target="_blank">http://github.com/ahocevar/openlayers/tree/mobile-wmts-vienna</a>.<br>
<span class="HOEnZb"><font color="#888888"><br>
Andreas.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, Dec 21, 2012 at 12:46 PM, Andreas Hocevar <<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>> wrote:<br>
> I added another pull request that is used in my mobile-wmts-vienna<br>
> branch and in the live exymple now:<br>
><br>
> <a href="https://github.com/openlayers/openlayers/pull/810" target="_blank">https://github.com/openlayers/openlayers/pull/810</a><br>
> Use transitionend listeners where available. Should be easy to review.<br>
><br>
> Andreas.<br>
><br>
> On Wed, Dec 19, 2012 at 9:41 AM, Andreas Hocevar <<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>> wrote:<br>
>> Hey fellow developers,<br>
>><br>
>> I don't know if you saw the enthusiastic tweets (e.g.<br>
>> <a href="https://twitter.com/19_norte/status/281134258725199875" target="_blank">https://twitter.com/19_norte/status/281134258725199875</a>), but<br>
>> <a href="http://ahocevar.github.com/openlayers/mobile-wmts-vienna/examples/mobile-wmts-vienna.html" target="_blank">http://ahocevar.github.com/openlayers/mobile-wmts-vienna/examples/mobile-wmts-vienna.html</a><br>
>> shows the improvements in tile rendering we can get with four pull<br>
>> requests. All these pull requests have been thoroughly tested, and are<br>
>> the result of client work at OpenGeo. To bring these improvements into<br>
>> master, I am asking for reviews:<br>
>><br>
>> <a href="http://github.com/openlayers/openlayers/pull/702" target="_blank">http://github.com/openlayers/openlayers/pull/702</a><br>
>> New tile image cache and tile queue improvements. This pull request<br>
>> gets rid of the current tile queue, which I know many people were<br>
>> unhappy with. It adds a new TileManager class, which delays tile<br>
>> loading for panning (replacement for previous tileLoadingDelay in<br>
>> Layer.Grid) and zooming to avoid unnecessary tile image requests. It<br>
>> also keeps references to image elements, so they can be reused when<br>
>> the user pans or zooms back to regions or zoom levels that were<br>
>> already visited.<br>
>><br>
>> <a href="http://github.com/openlayers/openlayers/pull/800" target="_blank">http://github.com/openlayers/openlayers/pull/800</a><br>
>> Use translate3d to enable GPU support where available. This introduces<br>
>> an applyTransform method on the map, which will use an appropriate<br>
>> positioning method for the layerContainerDiv. Without any transform3d<br>
>> styles on the layerContainerDiv, style.left and style.top will be used<br>
>> just like we currently do, and scale transforms will be used for<br>
>> scaling. But with a translate3d style on the layerContainerDiv, all<br>
>> positioning is made with translate3d, and scaling is done with<br>
>> scale3d. By doing so, the GPU kicks in and brings greatly improved<br>
>> dragging and pinch-zooming performance.<br>
>><br>
>> <a href="http://github.com/openlayers/openlayers/pull/503" target="_blank">http://github.com/openlayers/openlayers/pull/503</a><br>
>> Animated zooming. This depends on #800, and I will rebase it when #800<br>
>> is in. For now, it is best to look at the three commits mentioned in<br>
>> <a href="https://github.com/openlayers/openlayers/pull/503#issuecomment-11495176" target="_blank">https://github.com/openlayers/openlayers/pull/503#issuecomment-11495176</a>.<br>
>> This change includes some improvements to the MouseWheel handler, and<br>
>> better mousewheel defaults for the Navigation control, to allow for<br>
>> usable and predictable wheel zooming on touch pads.<br>
>><br>
>> <a href="http://github.com/openlayers/openlayers/pull/803" target="_blank">http://github.com/openlayers/openlayers/pull/803</a><br>
>> Tween: skip frames when minimum frame rate is not reached. We use<br>
>> requestAnimationFrame for tween already, but we have no control over<br>
>> the frame rate. This change introduces a new minFrameRate option. When<br>
>> set, frames will be skipped if the animation gets too slow. The effect<br>
>> of this can best be seen when zooming with #503 applied in Firefox:<br>
>> instead of the 20 frames (which work fine in Chrome), about half of<br>
>> the frames will be skipped because Firefox can not scale the<br>
>> layerContainer fast enough. The visual effect of animated zooming<br>
>> still works fine, and users do not have to wait too long for the zoom<br>
>> to finish.<br>
>><br>
>> Thanks for any reviews! With these changes in, the visual appearance<br>
>> and performance of OpenLayers will be on par with Leaflet.<br>
>> Andreas.<br>
>><br>
>> --<br>
>> Andreas Hocevar<br>
>> OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
>> Expert service straight from the developers.<br>
><br>
><br>
><br>
> --<br>
> Andreas Hocevar<br>
> OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
> Expert service straight from the developers.<br>
<br>
<br>
<br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
</div></div></blockquote></div><br></div>