example: tiledmapservice support

The Tiled Map Service TMS tile is a tile scheme ( [ as supported by OpenLayers ] is described here ( http://openlayers.org/dev/examples/tms.html ) )

OpenSeadragon has added support for TMS tile sources thanks to Rainer Simon (http://github.com/rsimon).

Inline Configuration for Tiled Map Services

Inline configuration couldn't be much simpler for using a TMS as a tile source.

Example Inline Configuration for TMS tile sources

Configuration is done via the 'tileSources' option ( or programatically ). Because of its rich levels and depth, we slow down the zoomPerScroll option a litte, wrap horitonally, and hide the navigator. Also we set a lower minimum zoom pixel ratio to allow the user to pull back just a little further.

OpenSeadragon({
    ...
    showNavigator:      false,
    wrapHorizontal:     true,
    zoomPerScroll:      1.2,
    minZoomImageRatio:  0.5,
    tileSources:   [{
        type: 'openstreetmaps'
    }]
    ...
});