[OpenLayers-Users] Ka-Map Layer Scale
Christopher Schmidt
crschmidt at metacarta.com
Mon Aug 13 16:32:37 EDT 2007
On Mon, Aug 13, 2007 at 07:36:09PM +0100, Jerry O'Sullivan wrote:
> Thanks Christopher,
>
> That did the trick - once i added in my scale array to the map options
> array-, however the map appears off center and chopped off, also the pan
> functionality doesn't work. Here is a screen grab
> http://img262.imageshack.us/my.php?image=nav2yy4.png. I debugged using
> firebug and no tiles are created to the right. Tiles are outlined in pink
>
> I think this has something to do with the projection- Have I have set the
> projection on the map incorrectly? I have set the projection when
> constructing the layer but that doesn't help
You need to set a maxResolution, probably to 'auto', alternatively to
something sane like 900 / 1000 .
-- Chris
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list