[OpenLayers-Users] ArcGIS tile cache zoom problem

Bart van den Eijnden bartvde at osgis.nl
Thu Dec 22 14:31:38 EST 2011


Hi,  there is a property called overrideDPI on the ArcGisCache layer try and set that to true for your layer.

restrictedExtent is something you can set client-side on the Map object.

Bart

Sent from my iPhone

On Dec 22, 2011, at 8:19 PM, Tom Blackmore <tom.blackmore at arctictiger.se> wrote:

> Thanks for the tip I've searched and found the following explanation:
> 
> "Basically this problem crops up when ArcGIS is configured to serve tiles for a fixed extent that is different from the full extent of something like spherical mercator.  The trick here is to set the actual RestrictedExtent to the correct extent on your server, and make sure the DPI of your tiles matches what OpenLayers expects (typically 72).  Once that is set, it changes how the map pans and zooms, and the layer behaves."
> 
> The problem is I can't regenerate the tile cache for this project or adjust the server, I'm wondering if there is a client side fix for this problem or if I will have to use something other than openlayers to consume the tile cache.
> 
> 
> Regards
> 
> Tom
> 
> 
> On Wed, Aug 24, 2011 at 3:56 AM, Bart van den Eijnden <[hidden email]> wrote:
> Hi Keith,
> 
> thanks for checking, then your issue must be a different issue. Will be hard to reproduce though without having your AGS cache online.
> 
> No just the last patch of ticket 3474 suffices. The extra closing } is at the end of the patch (line 191).
> 
> Best regar
> 
> On 22 Dec 2011, at 11:35, "Bart van den Eijnden (OSGIS)" <bartvde at osgis.nl> wrote:
> 
>> Search the archives, this has been discussed a few times.
>> 
>> Best regard
>> Bart
>> 
>>> Hi List,
>>> 
>>> I'm having problems with the ArcGIS server tile cache layer. The problem
>>> is
>>> that when I zoom in and pan around the map seems to hop around.
>>> 
>>> Here is an example I adjusted the openlayers auto configure example.
>>> 
>>> http://arctictiger.iriscouch.com/lbs/_design/app/agserver.html
>>> 
>>> If you zoom in say 3 times you will see things start hopping around. Any
>>> ideas about what I'm doing wrong?
>>> 
>>> Thanks in advance
>>> 
>>> Tom
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>> 
>> 
>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111222/c28fd887/attachment.html


More information about the Users mailing list