From: Edwin C. <com...@gm...> - 2010-06-17 07:19:01
|
Hi Lukas, In the code in trunk there is a WMSGetFeatureInfo example, similar to the example you reference. It uses a simple proxy included in the latest GWT-OL from trunk. With WMSGetFeatureInfo you have to be aware that there is no standard for WMSGetFeatureInfo output. In GeoServer you can define templates for this output, see here: http://geoserver.org/display/GEOSDOC/GetFeatureInfo+templates It would be great if you want to contribute enhancements back to GWT-OL. Greetings, Edwin On 17 June 2010 08:55, Lukas Johansson <luk...@de...> wrote: > I will within a two weeks add this functionality to our app, (we’re > currently using WFS but need to handle larger amount of data which get > impossible to load with WFS). > > The plan is to use the technique shown in > http://openlayers.org/dev/examples/getfeatureinfo-popup.html to be able to > produce popups for WMS-layers as well. > > I’m not sure if gwt-ol implements all that I need to use, but if not, I will > implement those parts myself and send them back as a patch. > > /Lukas > > Från: Couzic Mikael [mailto:mik...@gm...] > Skickat: den 16 juni 2010 13:21 > Till: Philipp Verhoeven > Kopia: gwt...@li... > Ämne: Re: [Gwt-openlayers-users] Producing clickable layers from WMS > > > > Hi Philipp, > > I needed this kind of functionnality, but I didn't use WMS, just WFS. > The idea is to get your polygons from the WFS protocol, and load them into > your VectorLayer. If your polygons are static, you can even use GML files. > But I'm not sure that's what you're looking for, as this solution implies > the WMS is completely independant from the polygons. > > Ask me if you want more info, I could even provide you with sample code if > you want. > > Cheers, > Mikael > > 2010/6/16 Philipp Verhoeven <ve...@go...> > > Hi, > > I'm looking for a solution to make any wms layer clickable. That means that > there should be areas - which are bounded by a polygon - that show an > information bubble when hovering over. > Does anyone have experience in this field? As far as I know gwt-openlayers > does not support this feature. > > I found a suitable example for openlayers using a WFS: > http://openlayers.org/dev/examples/getfeature-wfs.html > > It is possible to add the needed funcionality and build the .jar by myself, > right?! > > I'm thankful for any idea or comment on this. > > Cheers, > Philipp > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |