[OpenLayers-Users] Question on changing Popups on Textlayer

Christopher Schmidt crschmidt at metacarta.com
Wed Nov 19 14:37:51 EST 2008


On Wed, Nov 19, 2008 at 08:31:43PM +0100, Dirk Umlauffd wrote:
> Great the markers are visible!!!
> But they are completely at the wrong places!!!
> If you would please have a look at the following map:
> http://dtumlauffd.mine.nu/tmp_test/kopie1_textseite.html
> and scroll into the map in the region of Stuttgart you will find the markers 
> from the region between Frankfurt an Würzburg near Stuttgart - where they should be!
> I just added the fields iconSize and iconOffset with the values of 21,25 and -10,-25

You're not using spherical mercator. Regardless of anything else, you'll
need to use spherical mercator. See
http://docs.openlayers.org/spherical_mercator/ for more.

> Could you please find a "hack" to just modify the size of the popups and add a closebox in Layers.Text?

Feel free. Good luck.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list