I display wms features on a map and i want to see the attributes of all features after the map is loaded. I know the GetFeatureInfo request and i made examples when i clicked on a feature and than a popup was appeared with the infos. But i need a solution when all the popups appear after the map and the features are loaded. Any idea?
i found a solution. With a servercall i get the features of the selected layer in xml format. I can process that xml and gain the necessary coordinates. Than i put popups on the map with those coordinates.
I think you can achieve this with this example:
I haven't tested yet but it can work if you change this:
this may allow you to have all the popups open by default. In any case, you should play with the autoActivate option to see if something else is needed.
This may also help you: http://openlayers.org/dev/examples/osm-marker-popup.html
Hope this helps,