Hello,

I've just begun using openlayers recently. I've managed to learn how to
add markers etc. and thankfully, my code's working correctly. 

I'm having some trouble adding popups though. I've been trying to go
through the examples and figure out how OpenLayers functions so I can
add popups correctly. 

Can someone please give me a step by step procedure of adding popups to
markers (on clicking the marker, i want the popup).?

I do get this error at times : "px is null" (using firebug). On looking
at the OpenLayers.js file and tracing the error, it looks like px is
null because the layer is not a baselayer. I've set my layer to base
layer and I still can't display popups. It's because of my limited
understanding of the internals of OpenLayers. :|

Here's my current code to which I need to add popups. [1]

The related sources etc are all here[2].

[1]http://gitorious.org/open-source-policy-map/open-source-policy-map-code/blobs/master/index.html

[2]http://gitorious.org/open-source-policy-map

-- 
Thanks!
Regards,
Ankur 

https://fedoraproject.org/wiki/User:Ankursinha

"FranciscoD"

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to