[OpenLayers-Users] KaMap Tiles
Christopher Schmidt
crschmidt at metacarta.com
Mon Dec 18 14:12:48 EST 2006
On Mon, Dec 18, 2006 at 01:22:12PM -0500, Stephen Woodbridge wrote:
> Hello OpenLayers,
>
> We just loaded OpenLayers 2.2 and configured it to work with Ka-Map, but
> I am concerned because it is generating tiles. We have a pre-cached tile
> repository with fixed tile sizes, but there is no way that I can find in
> the docs to limit OL to those fixed zoom scales. In fact the the wiki
> implies that OL ignores the ka-map scales:
>
> > These should be the module names of your php modules for Mapscript
> and GD.
> >
> > $aszMapFiles = array(
> > "world" => array( "World", "/path/to/your/mapfile",
> > array( 10000 ), # in openlayers, the scale array
> doesn't matter.
> > "PNG24")
> >
> > );
>
> How can OL be restricted to work ONLY with the scales we have in out cache?
new OpenLayers.Map("map", {'scales':[10000, 5000, 2500]});
Also see: http://trac.openlayers.org/wiki/SettingZoomLevels
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list