[OpenLayers-Users] openlayers vs mobile vs google

Eric Lemoine eric.lemoine at camptocamp.com
Wed Apr 27 12:07:37 EDT 2011


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


More information about the Users mailing list