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

2011-04-14 Thread Eric Lemoine
On Tue, Apr 12, 2011 at 10:59 PM, Gregers Gram Rygg wrote: > On Tue, Apr 12, 2011 at 5:54 PM, Eric Lemoine > wrote: >> Right now pinchzoom isn't supported for the commercial layers. The >> commercial layers aren't in the "layer container" div, which the div >> we scale and translate on pinch. So

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] 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] 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] Harware accelerated CSS3 animations for iOS

2011-04-12 Thread Gregers Gram Rygg
On Tue, Apr 12, 2011 at 5:54 PM, Eric Lemoine wrote: > Right now pinchzoom isn't supported for the commercial layers. The > commercial layers aren't in the "layer container" div, which the div > we scale and translate on pinch. So targetting Tile.Image sounds good > to me at this point.  And for n

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

2011-04-12 Thread Eric Lemoine
On Tuesday, April 12, 2011, Eric Lemoine wrote: > On Tuesday, April 12, 2011, Gregers Gram Rygg wrote: >> Hi, >> >> Here is a demo with translate3d (click on the raw link to test it on a >> device) >> https://gist.github.com/913763 > > I just tested it in my iPhone 3G (old gneration), and pinchz

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

2011-04-12 Thread Eric Lemoine
On Tuesday, April 12, 2011, Gregers Gram Rygg wrote: > Hi, > > Here is a demo with translate3d (click on the raw link to test it on a device) > https://gist.github.com/913763 I just tested it in my iPhone 3G (old gneration), and pinchzoom does feel better. > > It's a copy of the mobile example

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

2011-04-12 Thread Eric Lemoine
On Tuesday, April 12, 2011, Gregers Gram Rygg wrote: > Hi, > > Here is a demo with translate3d (click on the raw link to test it on a device) > https://gist.github.com/913763 I just tested it in my iPhone 3G (old gneration), and pinchzoom does feel better. > > It's a copy of the mobile example

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

2011-04-08 Thread Eric Lemoine
On Saturday, April 9, 2011, Tim Schaub wrote: > On 4/8/11 4:52 PM, Gregers Gram Rygg wrote: > > Hi, > > I've been playing around with latest version of OpenLayers from svn. > Great work on the mobile version :) > > Found a little trick to vastly improve the pinch-zoom performance on > iPhone/iPad:

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

2011-04-08 Thread Noli Sicad
Which mobile openlayers example uses olTileImage? How can we use this patch, img.olTileImage { -webkit-transform: translate3d(0, 0, 0); in one of the examples? Otherwise, I like to see new mobile example ( - sandbox) that use this feature - -webkit-transform: translate3d(0, 0, 0); Thanks.

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

2011-04-08 Thread Tim Schaub
On 4/8/11 4:52 PM, Gregers Gram Rygg wrote: Hi, I've been playing around with latest version of OpenLayers from svn. Great work on the mobile version :) Found a little trick to vastly improve the pinch-zoom performance on iPhone/iPad: img.olTileImage { -webkit-transform: translate3d(0, 0,

[OpenLayers-Dev] Harware accelerated CSS3 animations for iOS

2011-04-08 Thread Gregers Gram Rygg
Hi, I've been playing around with latest version of OpenLayers from svn. Great work on the mobile version :) Found a little trick to vastly improve the pinch-zoom performance on iPhone/iPad: img.olTileImage {    -webkit-transform: translate3d(0, 0, 0); } For some strange reason translate3d is