[OpenLayers-Users] Marker + Popups = Flicker

noosy vanessa.towers at dsto.defence.gov.au
Fri May 7 00:51:24 EDT 2010


Well thats a bit embarrassing, I think I fixed it - just passed in the
following for my popup constructor to offset the achor a little:

popup = new FramedCloud("marker-info", marker.getLonLat(),
                        new Size(120,80), "<p>" + getTitle() +  "\n" +
marker.getLonLat().lon() + "\n" + marker.getLonLat().lat() + "</p>" ,
                        new Icon("", new Size(16,16), new Pixel(-8,-8)),
false);

Previously I had new Icon("", new Size(0,0), new Pixel(0,0)), false);

Oh well, I hope my oversight helps someone!
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Marker-Popups-Flicker-tp5017786p5017809.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list