I need to devise a way to get an array of markers from a layer...

I see this in the docs OpenLayers. Layer. Markers but under the Layer class
there is no Marker array ?

for example I tried this
 
var test = Map.layers
alert ( test.markers ) // undefined
alert ( test.Markers ) // undefined

I would also need a way to get features. 

Is this the way its intended to work? If so why do i get undefined.

Do I need to reference the [OpenLayers. Layer. Marker]  itself? Can I not
get to the markers from map?
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/get-markers-from-layers-tp5413201p5413201.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to