I use GetFeature Control for hover functionality, but sometimes WMSGetFeatureInfo with hover with an Html template backend is good enough. (When your application only needs to display the attributes, not do any other processing of them). I use selectfeature for "info" and "polygon" tool which usually have the assumption that multiple features will be returned - display list of features in a popup and the user doing further processing from there.

Depending on database size, you could try some pre-load tricks. onmove you issue WFS GetFeature for the area covered by the map but ONLY for attributes, not shape (that should reduce your download size). Then you need only featureid returned from hover and look up the other attributes in the preloaded table.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to