[OpenLayers-Users] Problems displaying popup
Marc Jansen
jansen at terrestris.de
Wed Oct 14 10:06:49 EDT 2009
Hi David,
are posx and posy in the same units as the maps' projection demands it?
What does (using the Firefox Plugin Firebug) console.log(popup) show?
Regards,
Marc
David Alda Fernandez de Lezea schrieb:
> Hello, I'm having some troubles trying to show a popup in openlayers.
> I'm using this code in the map:
>
> var popup = new OpenLayers.Popup("chicken", new
> OpenLayers.LonLat(posx,posy),new OpenLayers.Size(200,200),"Example
> Popup",true);
> map.addPopup(popup);
>
> where posx and posy are 2 variables that are NOT NULL. I've tested it.
>
> but the popup doesn't appear anywhere.
>
> I've already gone to de the documentation and copy paste the code that
> is provided and still not working.
>
> What's going on? I'm doing something wrong??
>
> Thanks
>
> Un saludo,
>
>
>
> ··················································································
>
> *David Alda Fernández de Lezea*
>
> Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
>
>
>
> *IKT*
>
> Granja Modelo s/n · 01192 · Arkaute (Araba)
>
>
> ··················································································
> Tlfnos.: 945-00-32-95 Fax: 945-00.32.90
> ··················································································
> email: dalda at ikt.es
> <mailto:dalda at ikt.es> web: www.ikt.es
> <http://www.ikt.es/>
> ··················································································
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list