diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index 2a6b958a7a..7b449376c9 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -2648,7 +2648,16 @@ OpenLayers.Map = OpenLayers.Class({ /** * Method: applyTransform - * Applies the given transform to layers. + * Applies the given transform to the . This method has + * a 2-stage fallback from translate3d/scale3d via translate/scale to plain + * style.left/style.top, in which case no scaling is supported. + * + * Parameters: + * x - {Number} x parameter for the translation. Defaults to the x value of + * the map's + * y - {Number} y parameter for the translation. Defaults to the y value of + * the map's + * scale - {Number} scale. Defaults to 1 if not provided. */ applyTransform: (function() { var transformProperty, @@ -2678,7 +2687,6 @@ OpenLayers.Map = OpenLayers.Class({ style.left = dx + 'px'; style.top = dy + 'px'; } - console.log(style[transformProperty]); }; }()),