AW: [OpenLayers-Users] WMS-C/TMS and WMTS

Noli Sicad nsicad at gmail.com
Wed Aug 3 22:47:08 EDT 2011


Hi Phil,

Thanks for the code.

What happen when you are offline - no internet connection? Would
panning - zoom in / zoom out works with your code?

I love to have offline solution for OpenLayers.

Thanks.

Noli

>
> Sure. tms tiles in a directory on disk has relative of
> Content/outputs/Magnetics
> lay.imageBounds is tms bounds in lat/long (so dproj is a 4326 projection
> and proj is 900913)
> lay.minZoom and maxZoom and the zoom you specified when you created the
> TMS. I could do this the
> "proper" OL way but its a pain to calculate and setup. This works just fine.
>


More information about the Users mailing list