Ticket #3030 (closed feature: fixed)
ArcGIS (AGS) Tile Cache Layer Contribution
|Reported by:||dmiddlecamp||Owned by:||euzuro|
|Keywords:||ags, esri, layer, review||Cc:||dmiddlecamp@…|
This is a contribution of a new Layer for OpenLayers that is compatible with newer ESRI ArcGIS Server setups that use cached tile sets. (e.g. arcgis.com, arcgis online). This layer fixes the problem of the tiles 'jumping around' during zooming ( as seen in previous versions http://trac.osgeo.org/openlayers/browser/sandbox/tschaub/arcgiscache/lib/OpenLayers/Layer/ArcGISCache.js) , by correctly calculating the extent based on tile information. This layer can also configure itself using server provided ESRI specific json. This layer is an improvement on wrapping the ESRI js api, since all the work is done in native OpenLayers code, and it provides the added benefit of accessing tiles directly.
This layer should represent a working fix to at least one existing ticket http://trac.osgeo.org/openlayers/ticket/1967
Our company Azavea has an existing code contribution agreement, so I'm submitting under that. I've also provided some unit tests, and three typical examples of using and configuring the layer. I've tried to review and clean this code as much as possible, but please let me know if anything needs to be changed or tweaked. I'm very excited about contributing this layer back, and I hope it can help users who would like to use AGS tile sets. At the very least I hope it helps people to understand more recent ArcGIS tile sets.
Thanks! David M.