Hi aschwartz, First of all, you'll need to access this marker. A simple way is to keep a trace of it. How do you add it to your map ? If you create/add this marker in a function at the load of your page, you can just create a global variable and assign to it the marker. In this case, you'll be able to create a JS function to toggle this marker easily by setting something like: href="javascript:toggleMyMarker();". There is a lot of way to do what you want.
Regards, Alan aschwartz wrote: > So I've been hunting around trying to figure this out, and I've been looking > in Firebug for some information on that popup. The first thing i noticed is > that a popup has an optional field for 'id'... this could come in handy. > > I also saw it was given a numbered id (see screenshot - > http://gtproductions.net/uploads/firebug.jpg ) > How do I call this thing, in OO JS style? > > Openlayers.Feature_95_popup.toggle(); ?? > make an array of markers and do > markerArray[i].Openlayers.Feature_95_popup.toggle(); ?? > I have no idea. Any help would be appreciated. > > -Alex > -- Alan Boudreault Mapgears http://www.mapgears.com _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users