Re: [OpenLayers-Dev] Harware accelerated CSS3 animations for iOS

2011-04-13 Thread Eric Lemoine
On Wed, Apr 13, 2011 at 11:23 AM, Eric Lemoine wrote: > On Wed, Apr 13, 2011 at 9:40 AM, Andreas Hocevar wrote: >> On Apr 12, 2011, at 22:44 , Eric Lemoine wrote: >> >>> On a related note I've been trying to apply -webkit-transform >>> translate3d to the layer container div for dragging the map.

Re: [OpenLayers-Dev] Re: SVG2 and 2.11

2011-04-13 Thread Andreas Hocevar
Thanks for the example Slawomir. You are right, currently the NG renderers (which SVG2 is a subclass of) don't recalculate styles on zoom change. I created a ticket (http://trac.osgeo.org/openlayers/ticket/3257). If fixed wisely, the performance impact of recalculating the styles on zoom level

Re: [OpenLayers-Dev] Harware accelerated CSS3 animations for iOS

2011-04-13 Thread Eric Lemoine
On Wed, Apr 13, 2011 at 9:40 AM, Andreas Hocevar wrote: > On Apr 12, 2011, at 22:44 , Eric Lemoine wrote: > >> On a related note I've been trying to apply -webkit-transform >> translate3d to the layer container div for dragging the map. But with >> limited success for now—applying translate3d seem

Re: [OpenLayers-Dev] Re: SVG2 and 2.11

2011-04-13 Thread Slawomir Messner
Sure, last time I wanted to post code here it was too long so I don't try to send our style map and shorten it this time. Our projection is 900913. The "mapObject" is our map-controller so you should replace it by your way to find the map. var defaultStyle = new OpenLayers.Style({

Re: [OpenLayers-Dev] Harware accelerated CSS3 animations for iOS

2011-04-13 Thread Andreas Hocevar
On Apr 12, 2011, at 22:44 , Eric Lemoine wrote: > On a related note I've been trying to apply -webkit-transform > translate3d to the layer container div for dragging the map. But with > limited success for now—applying translate3d seems to work but, for > some reason, the layer container is positi

Re: [OpenLayers-Dev] Re: SVG2 and 2.11

2011-04-13 Thread Andreas Hocevar
Hey Slawomir, thanks for the feedback. Can you please provide a working example so we can reproduce and fix the issue? Thanks, Andreas. On Apr 13, 2011, at 08:14 , Slawomir Messner wrote: > Hi, > would like to use it too but we use a style map with context so that labels > and graphics change