Re: [OpenLayers-Users] XML, icon and offset

2008-08-14 Thread François Van Der Biest
Hi Guillaume, You can set your popup position anywhere nearby a feature by applying an offset. For instance, var popup = new OpenLayers.Popup.FramedCloud(mypopup, new OpenLayers.LonLat(feature.geometry.x,feature.geometry.y), null, html, {'size': new OpenLayers.Size(5,5), 'offset': new

[OpenLayers-Users] XML, icon and offset

2008-08-13 Thread Guillaume Sueur
Hi list, Is there a way to offset properly the popup anchor on a vector layer ? Tried to do it be displacing the lonlat for popup but as I can't know in which direction to displace it, it's not clean. Thanks -- Guillaume ___ Users mailing list