[OpenLayers-Users] The location of the Markers was changged

Christopher Schmidt crschmidt at metacarta.com
Thu Apr 10 06:58:40 EDT 2008


On Thu, Apr 10, 2008 at 04:18:45PM +0800, Yang Zhaohui wrote:
>  Hello dear sir,
>     When I use TMS to deploy images,I have a problem. I know I can use "'maxExtent': bounds,resolutions:[0.000534956337608418,0.000634956337608418]" to make the TMS layer image restricted to a specific bounds. And I also add makers to the map. But when I zoom in the map,the position of the markers was changed. Do you know what is the matter?How to avoid its changing?Thank you!

I don't think you can do that... unless your source TMS layer has only
two resolutions at the source?

An OpenLayers map can't display subsets of layers ina TMS layer at this
time: it's all or nothing.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list