From: Philipp V. <ve...@go...> - 2010-06-16 09:47:06
|
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 |
From: Couzic M. <mik...@gm...> - 2010-06-16 11:20:49
|
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 > > |
From: Lukas J. <luk...@de...> - 2010-06-17 06:55:13
|
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 |
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 > > |
From: Lukas J. <luk...@de...> - 2010-06-17 08:17:43
|
Thanx I've totally missed that. I believed that I could request the data in a machine friendly format (for e.g. json). But it must be possible to create a template which will be easier to parse in my app code. Thank you! -----Ursprungligt meddelande----- Från: Edwin Commandeur [mailto:com...@gm...] Skickat: den 17 juni 2010 09:19 Till: Lukas Johansson Kopia: Couzic Mikael; Philipp Verhoeven; gwt...@li... Ämne: Re: [Gwt-openlayers-users] Producing clickable layers from WMS 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 > > |
From: Lukas J. <luk...@de...> - 2010-06-18 08:41:00
|
I'm having a issue with Safari (4.0.5 on windows). When I define a WMSlayer with a single url only it works fine, but when initiate it with an array of url:s the urls: are combined into a string where each url is separated with an ',' and this string is then used as the url to the WMS server. The constructor I call is: WMS.java public WMS(String name, String[] urls, WMSParams params, WMSOptions layerParams) { this(WMSImpl.create(name, new JStringArray(urls).getJSObject(), params.getJSObject(), layerParams.getJSObject())); } I've looked into JstringArray() and it simply copies all values from urls to a JStringArray so no problem there. In WMSImpl there is a comment about the Object/Array problem and this is solved by once more copying the values from the new array, seems ok. The new value is then passed to OpenLayers.Layer.WMS. So the bottom line is that I have no idea why this works in all mayor browsers except Safari. When I only use 1 url there is no problem. We have another OpenLayers (plain OpenLayers, non-GWT) application which also uses multiple url and that app does not show this symtoms. Anyone got a clue? |
From: Lukas J. <luk...@de...> - 2010-06-23 08:19:29
|
No one experienced or been able to reproduce this issue? I'm grateful for any help I can get. /Lukas -----Ursprungligt meddelande----- Från: Lukas Johansson [mailto:luk...@de...] Skickat: den 18 juni 2010 10:41 Till: gwt...@li... Ämne: [Gwt-openlayers-users] Safari and multiple urls for a WMS baselayer I'm having a issue with Safari (4.0.5 on windows). When I define a WMSlayer with a single url only it works fine, but when initiate it with an array of url:s the urls: are combined into a string where each url is separated with an ',' and this string is then used as the url to the WMS server. The constructor I call is: WMS.java public WMS(String name, String[] urls, WMSParams params, WMSOptions layerParams) { this(WMSImpl.create(name, new JStringArray(urls).getJSObject(), params.getJSObject(), layerParams.getJSObject())); } I've looked into JstringArray() and it simply copies all values from urls to a JStringArray so no problem there. In WMSImpl there is a comment about the Object/Array problem and this is solved by once more copying the values from the new array, seems ok. The new value is then passed to OpenLayers.Layer.WMS. So the bottom line is that I have no idea why this works in all mayor browsers except Safari. When I only use 1 url there is no problem. We have another OpenLayers (plain OpenLayers, non-GWT) application which also uses multiple url and that app does not show this symtoms. Anyone got a clue? ------------------------------------------------------------------------------ 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 |
From: Couzic M. <mik...@gm...> - 2010-06-19 09:46:13
|
Hi Philipp, If you're still interested, I added a new example to the showcase. Please ask if you need help. Mikael 2010/6/16 Philipp Verhoeven <phi...@go...> > Hi Mikael, > > for me it would be enough to get the polygons from the WFS. If you like, > please send me some sample code. > > Thanks for your help! > > Cheers, > Philipp > > 2010/6/16 Couzic Mikael <mik...@gm...> > > 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 >>> >>> >> > |
From: Lukas J. <luk...@de...> - 2010-07-15 12:31:01
Attachments:
2010-07-15 - WmsGetFeatureInfo.patch
|
Hello Edwin I just completed my implementation with clickable wmslayers trough WmsGetFeatureInfo. I found that there exists a way to request the data in a machine friendly way (GML) by setting infoFormat to "application/vnd.ogc.gml". This means that I get VectorFeatures straight from the request and therefore can reuse my exists WFS popuprenderers to render popups. No need for HTML templating :) While working with the implementation I added setDrilldown, setLayers and setUrls to WmsGetFeatureInfoOptions as well as getFeatures in the GetFeatureInfoListener class. These changes allow me to decide exactly what layers to query and they don't have to be served by the same server, which is the case when using using drilldown. I'm quite sure that drilldown and setLayers where added in OL 2.9, but I hope it's ok that I wrapped them as well. I'd like some feedback on the methods handling arrays (setLayers and getFeatures) as this is my first time using wrapped arrays in gwt-ol. Is this the way to do it or are there any better patterns? /Lukas -----Ursprungligt meddelande----- Från: Lukas Johansson [mailto:luk...@de...] Skickat: den 17 juni 2010 10:18 Till: Edwin Commandeur Kopia: gwt...@li... Ämne: Re: [Gwt-openlayers-users] Producing clickable layers from WMS Thanx I've totally missed that. I believed that I could request the data in a machine friendly format (for e.g. json). But it must be possible to create a template which will be easier to parse in my app code. Thank you! -----Ursprungligt meddelande----- Från: Edwin Commandeur [mailto:com...@gm...] Skickat: den 17 juni 2010 09:19 Till: Lukas Johansson Kopia: Couzic Mikael; Philipp Verhoeven; gwt...@li... Ämne: Re: [Gwt-openlayers-users] Producing clickable layers from WMS 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 > > ------------------------------------------------------------------------------ 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 |
From: Edwin C. <com...@gm...> - 2010-07-16 06:54:20
|
Hi Lukas, Thanks for the patch! The way you are handling arrays seems fine. In GWT 2 the options for working with arrays expanded, but the wrappers are still relevant IMHO, and working well. This is an area that could definitively use some documentation. I see you are also using getPropertyAsArray(). This is a method I still need to look at, because it can run into nasty runtime errors that have to do with casting from JavascriptObject to Java Object. The method seems useful, so I guess it needs to be reimplemented to guard it against runtime exceptions. Greetings, Edwin On 15 July 2010 14:16, Lukas Johansson <luk...@de...> wrote: > Hello Edwin > I just completed my implementation with clickable wmslayers trough WmsGetFeatureInfo. I found that there exists a way to request the data in a machine friendly way (GML) by setting infoFormat to "application/vnd.ogc.gml". This means that I get VectorFeatures straight from the request and therefore can reuse my exists WFS popuprenderers to render popups. No need for HTML templating :) > > While working with the implementation I added setDrilldown, setLayers and setUrls to WmsGetFeatureInfoOptions as well as getFeatures in the GetFeatureInfoListener class. These changes allow me to decide exactly what layers to query and they don't have to be served by the same server, which is the case when using using drilldown. > > I'm quite sure that drilldown and setLayers where added in OL 2.9, but I hope it's ok that I wrapped them as well. > > I'd like some feedback on the methods handling arrays (setLayers and getFeatures) as this is my first time using wrapped arrays in gwt-ol. Is this the way to do it or are there any better patterns? > > /Lukas > > > > > -----Ursprungligt meddelande----- > Från: Lukas Johansson [mailto:luk...@de...] > Skickat: den 17 juni 2010 10:18 > Till: Edwin Commandeur > Kopia: gwt...@li... > Ämne: Re: [Gwt-openlayers-users] Producing clickable layers from WMS > > Thanx I've totally missed that. I believed that I could request the data in a machine friendly format (for e.g. json). But it must be possible to create a template which will be easier to parse in my app code. > > Thank you! > > > -----Ursprungligt meddelande----- > Från: Edwin Commandeur [mailto:com...@gm...] > Skickat: den 17 juni 2010 09:19 > Till: Lukas Johansson > Kopia: Couzic Mikael; Philipp Verhoeven; gwt...@li... > Ämne: Re: [Gwt-openlayers-users] Producing clickable layers from WMS > > 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 >> >> > > > ------------------------------------------------------------------------------ > 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 > > > |