missing var's, p=jorix (thx), r=me (closes #2960)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10951 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -219,7 +219,7 @@ OpenLayers.Layer.Zoomify = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
*/
|
||||
getImageSize: function() {
|
||||
if (arguments.length > 0) {
|
||||
bounds = this.adjustBounds(arguments[0]);
|
||||
var bounds = this.adjustBounds(arguments[0]);
|
||||
var res = this.map.getResolution();
|
||||
var x = Math.round((bounds.left - this.tileOrigin.lon) / (res * this.tileSize.w));
|
||||
var y = Math.round((this.tileOrigin.lat - bounds.top) / (res * this.tileSize.h));
|
||||
|
||||
Reference in New Issue
Block a user