coreyalix01

Tiled WMS via resourceInfo?

Discussion created by coreyalix01 on Jul 27, 2012
Does the WMSLayer provide for tiled access? 

If not I believe a useful feature would be to provide the resourceInfo maxHeight, maxWidth as well as a new attribute (maybe stretchTile or singleTile).

stretchTile = false implies that instead of the default behavior of stretching a tile to fill the map you instead get one or more tiles to fill the map.

The trade-off would be no loss in resolution vs multiple trips to the WMS service.

USE CASE
The reason I request this functionality is for integration with tile servers, specifically TileCache.  TileCache expects the WMS bbox to correspond to a tile.

See Also
http://jsfiddle.net/LA2aH/
http://gis.stackexchange.com/questions/30387/how-would-one-write-a-arcgis-jsapi-layer-to-access-wms-service-via-a-tile-server

Outcomes