[OpenLayers-Dev] 256x256

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Mon May 17 09:26:59 EDT 2010

On May 16, 2010, at 5:01 PM, ext Robert Sanson wrote:

> On a related matter, I have discovered that ArcGIS Server default tile cache origin is top left, not bottom left as it is for other cache schemas. Is there any way to tell OpenLayers.Layer.XYZ to work out tiles to request when tile origin is top left? Setting tileOrigin on the map object and the layer property seems to make no difference.

This should already be the case?

        var y = Math.round((this.maxExtent.top - bounds.top)
            / (res * this.tileSize.h));

-- Chris

More information about the Dev mailing list