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
_______________________________________________
Dev mailing list
Dev@openlayers.org
http://openlayers.org/mailman/listinfo/dev

Reply via email to