[OpenLayers-Users] openlayers vs mobile vs google
Gilbert, Antoine
AGilbert at korem.com
Wed Apr 27 20:52:38 EDT 2011
Finally, as you said, using translate3d and scale3d seem to solve the problem. Now gesture previewing (WMS+Google) is very very smooth, perfect...
I guess now I'll try to figure if it's really ok to use these 3d methods
-----Original Message-----
From: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of Gilbert, Antoine
Sent: 27 avril 2011 17:14
To: Eric Lemoine
Cc: openlayers-users at lists.osgeo.org
Subject: RE: [OpenLayers-Users] openlayers vs mobile vs google
The only reason I can see is there is some processing launched by some event during the gesture transform and related to the Google base layer...
-----Original Message-----
From: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of Gilbert, Antoine
Sent: 27 avril 2011 12:20
To: Eric Lemoine
Cc: openlayers-users at lists.osgeo.org
Subject: RE: [OpenLayers-Users] openlayers vs mobile vs google
I tried to apply the transform to the WMS DIV itself instead of the layer div container, no difference
-----Original Message-----
From: Eric Lemoine [mailto:eric.lemoine at camptocamp.com]
Sent: 27 avril 2011 12:08
To: Gilbert, Antoine
Cc: openlayers-users at lists.osgeo.org
Subject: [OpenLayers-Users] openlayers vs mobile vs google
On Wednesday, April 27, 2011, Gilbert, Antoine <AGilbert at korem.com> wrote:
>
> I meant the transform is applied on the layer container div, and in the case of WMS+Google, there is only one div inside and it's the WMS one, the Google one is outside that container. So this is very strange to have the transform slow, we have less stuff than WMS+OSM (in that case the container contains 2 element div, one for osm and one for wms)
Right. I don't know what's going on here. I suppose you are testing in
iPhone/Safari. I'm curious to know whether using translate3d instead
of translate would change anything here. You can experiment with
translate3d by editing Control/PinchZoom.js and use translate3d
instead of translate for the CSS transform property. You could also
try to apply the translate3d(0, 0, 0) trick to the tiles (as reported
some weeks ago on the mailing list) to see if that makes a difference.
Sorry about the fuzzy information, all this is very new to OpenLayers
and me. I'm interested in sharing knowledge about all this, so feel
free to report on your findings :-)
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list