<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Marc,<br><br>thanks a lot for the tips. Just checked it out, but unfortunately I get a "TypeError: Result of expression 'this.map' [null] is not an object." in "OpenLayers.js:803" on the "sm: ....." line. Any idea what that can mean or what to do about it?<br><br>Cheers,<br><br>Stefan<br><br><br>On Jul 30, 2010, at 12:02 PM, Marc Jansen wrote:<br><br><blockquote type="cite">Hi Stefan,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">maybe the example <br></blockquote><blockquote type="cite"><a href="http://dev.geoext.org/trunk/geoext/examples/feature-grid.html">http://dev.geoext.org/trunk/geoext/examples/feature-grid.html</a> is of use <br></blockquote><blockquote type="cite">for you:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">If you define<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">var aSelectControlThatHasAHoverHandler = new <br></blockquote><blockquote type="cite">OpenLayers.Control.SelectFeature(yourVectorLayer, {hover: true});<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">and<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">gridPanel = new Ext.grid.GridPanel({<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> ...<br></blockquote><blockquote type="cite"> sm: new GeoExt.grid.FeatureSelectionModel({<br></blockquote><blockquote type="cite">selectControl: aSelectControlThatHasAHoverHandler<br></blockquote><blockquote type="cite"> })<br></blockquote><blockquote type="cite">});<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">You should be able to select features on hover and have them highlighted <br></blockquote><blockquote type="cite">in a grid as well.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Untested.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Regards,<br></blockquote><blockquote type="cite">Marc<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 30.07.2010 11:35, Stefan Schwarzer wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hi,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the examples I've seen of GeoExt are really nice. There is however one feature I'd like to have, and that I haven't seen in the examples, but which I think should be easy to implement. And that is some kind of mouse-over effect. When a user is moving the mouse over some polygons, would it be possible to highlight the attributes in a grid at the side? Or display a small box next to the cursor?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks for any hints,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Stefan<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Users mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:Users@geoext.org">Users@geoext.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-- <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> .................................................................<br></blockquote><blockquote type="cite"> Karten im (Inter|Intra)net?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> OpenLayers - Webentwicklung mit dynamischen Karten und Geodaten<br></blockquote><blockquote type="cite"> von M. Jansen und T. Adams, OpenSourcePress, München.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> ISBN: 978-3-937514-92-5<br></blockquote><blockquote type="cite"> URL: <a href="http://openlayers-buch.de/">http://openlayers-buch.de</a><br></blockquote><blockquote type="cite"> .................................................................<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> Dipl.-Geogr. Marc Jansen<br></blockquote><blockquote type="cite"> - Anwendungsentwickler -<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> terrestris GmbH& Co. KG<br></blockquote><blockquote type="cite"> Irmintrudisstraße 17<br></blockquote><blockquote type="cite"> 53111 Bonn<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> Tel: ++49 (0)228 / 96 28 99 -53<br></blockquote><blockquote type="cite"> Fax: ++49 (0)228 / 96 28 99 -57<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> Email: <a href="mailto:jansen@terrestris.de">jansen@terrestris.de</a><br></blockquote><blockquote type="cite"> Web: <a href="http://www.terrestris.de/">http://www.terrestris.de</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> Amtsgericht Bonn, HRA 6835<br></blockquote><blockquote type="cite"> Komplementärin: terrestris Verwaltungsgesellschaft mbH<br></blockquote><blockquote type="cite"> vertreten durch: Hinrich Paulsen, Till Adams<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Users@geoext.org">Users@geoext.org</a><br></blockquote><blockquote type="cite"><a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br></blockquote><div><br></div></body></html>