Hi,

  Just put a break point on this line :
            if (*feature.popup[]*= null){

 Then, using the "script" tag and at the right the "watch" tab, you will 
then be able to see all variables and object currently available, 
including "this" (which should be your map object).

  There's plenty of tutorials on the web that could help.  Just google 
"firebug how to use" for example.

Best of luck,

Alexandre


Asle Benoni wrote:
> Ok. Not really sure where to put this, when does it fire?
>
>         function checkPopup(feature) {
>             if (*feature.popup[]*= null){
>             feature.popup.destroy();
>             }
>         }
>        
>         map.events.register("moveend", map, checkPopup);
> I have FireBug but do not really know what to check :-(
>
> Forgive my small knowledge here.
>
> /asle
>


-- 
Alexandre Dubé
Mapgears
www.mapgears.com

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

Reply via email to