You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
(17) |
Apr
|
May
|
Jun
(6) |
Jul
(10) |
Aug
(16) |
Sep
(4) |
Oct
(16) |
Nov
(8) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(5) |
Feb
(28) |
Mar
(35) |
Apr
(20) |
May
(13) |
Jun
(24) |
Jul
(14) |
Aug
(8) |
Sep
(19) |
Oct
(13) |
Nov
(16) |
Dec
(8) |
2011 |
Jan
(18) |
Feb
(10) |
Mar
(16) |
Apr
(14) |
May
(21) |
Jun
(20) |
Jul
(12) |
Aug
(18) |
Sep
(11) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2012 |
Jan
(1) |
Feb
(2) |
Mar
(6) |
Apr
(1) |
May
|
Jun
|
Jul
(4) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Piotr T. <pi...@cg...> - 2011-05-03 20:25:00
|
> I am having difficulty adding some extra functionality to a popup > closebox callback. > I have tried a couple of approaches. Currently I am Creating the popup > passing in the boolean "closebox" set to false in the constructor. > Then I try and add my own CloseListener Eg. > popup.addCloseListener(new CloseListener() { > public void onPopupClose(JSObject evt) > { > // my own implementation > } > }); > But this isn't working as I would have expected.The onPopupClose > method is being hit when I can click the close button and doing the > job. But the close button is being positioned oddly. Sometimes it > is positioned outside of my framed cloud (but is clickable/closable), > othertimes it is in the right spot (top right corner of the cloud) but > doesn't always let me click it because it looks like my html text that > is in the popup is on top of it. > Any ideas what is going on? > Are you using the newest GWT-OL? Notice, that according to changelog addCloseListener is depreciated and not working correctly: http://gwt-openlayers.hg.sourceforge.net/hgweb/gwt-openlayers/gwt-openlayers/ I never used it so far so not sure if its related to your problem. /Peter |
From: Towers, V. <Van...@ds...> - 2011-05-03 03:22:16
|
UNCLASSIFIED Hi, I am having difficulty adding some extra functionality to a popup closebox callback. I have tried a couple of approaches. Currently I am Creating the popup passing in the boolean "closebox" set to false in the constructor. Then I try and add my own CloseListener Eg. popup.addCloseListener(new CloseListener() { public void onPopupClose(JSObject evt) { // my own implementation } }); But this isn't working as I would have expected. The onPopupClose method is being hit when I can click the close button and doing the job. But the close button is being positioned oddly. Sometimes it is positioned outside of my framed cloud (but is clickable/closable), othertimes it is in the right spot (top right corner of the cloud) but doesn't always let me click it because it looks like my html text that is in the popup is on top of it. Any ideas what is going on? Cheers, Vanessa IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email. |
From: Jon B. <jon...@go...> - 2011-04-20 14:37:22
|
Hi Alex, Thanks for the response, that seems to work! Just out of curiosity, is there a way of displaying a WFS layer without specifying its namespace - with just a url and a layer name? Thanks, Jon On 20 April 2011 13:36, Alexandre Ascasibar Sequeiros <aas...@gm...>wrote: > You're missing a CallBack object to populate all the features retrieved > from geoserver in the layer and a proxy to get data from the server in > Javascript. > Have a look to my code, it works for me. > > > OpenLayers.setProxyHost("gwtOpenLayersProxy?targetURL="); > > VectorOptions vectorOptions = new VectorOptions(); > Vector eventsLayer = new Vector("Events", vectorOptions); > > WFSProtocolOptions wfsProtocolOptions = new > WFSProtocolOptions("http://your-host/geoserver/ows","your-namespace", > "your-wfs-layer"); > wfsProtocolOptions.setGeometryName(your-geometry-field); > wfsProtocolOptions.setSrsName("EPSG:4326"); > wfsProtocolOptions.setVersion("1.1.0"); > > > WFSProtocol wfsProtocol = new > WFSProtocol(wfsProtocolOptions); > // WFS Protocol is asynchronous, so we need to use a > callback > Callback callback = new Callback() { > public void computeResponse(Response response) { > try > { > VectorFeature[] features = > response.getFeatures(); > for ( VectorFeature feature : > features ) { > //Apply style > depending on any attribute of you feature > Style style = new > Style(); > > style.setPointRadius(5); > > style.setFillColor("#00FF00"); > > feature.setStyle(style); > } > eventsLayer.addFeatures(features); > > } > catch (Exception ex) > { > //ERROR > } > } > }; > WFSProtocolCRUDOptions options = new > WFSProtocolCRUDOptions(callback); > wfsProtocol.read(options); > > > Hope it helps, > Alex. > ________________________________________ > De: Jon Britton [jon...@go...] > Enviado el: miércoles, 20 de abril de 2011 13:12 > Para: gwt-openlayers-users > Asunto: [Gwt-openlayers-users] WFS layers with GWT-OpenLayers > > Hi, > > I'm trying to add a WFS layer to my map but it's not displaying. Here is my > code: > > > WFSProtocolOptions wfsProtocolOptions = new WFSProtocolOptions(); > wfsProtocolOptions.setUrl(featureType.getServiceUrl()); > wfsProtocolOptions.setFeatureType(featureType.getName()); > WFSProtocol wfsProtocol = new WFSProtocol(wfsProtocolOptions); > VectorOptions vectorOptions = new VectorOptions(); > vectorOptions.setProtocol(wfsProtocol); > vectorOptions.setStrategies(new Strategy[]{new BBoxStrategy()}); > > mapLayer = new Vector(featureType.getName(), vectorOptions); > > SmartWPS.getSmartWPS().getMap().addLayer(mapLayer); > > > Where the url is "http://li199-25.members.linode.com:8080/geoserver/wfs" > and the layer name is "topp:tasmania_roads". I got this code from the > showcase so I assumed it was all I needed. > > Am I missing something? BTW the WFS is public if anybody wants to try it > out :-) > > Thanks, > > Jon > > ______________________ > This message including any attachments may contain confidential > information, according to our Information Security Management System, > and intended solely for a specific individual to whom they are addressed. > Any unauthorised copy, disclosure or distribution of this message > is strictly forbidden. If you have received this transmission in error, > please notify the sender immediately and delete it. > > ______________________ > Este mensaje, y en su caso, cualquier fichero anexo al mismo, > puede contener informacion clasificada por su emisor como confidencial > en el marco de su Sistema de Gestion de Seguridad de la > Informacion siendo para uso exclusivo del destinatario, quedando > prohibida su divulgacion copia o distribucion a terceros sin la > autorizacion expresa del remitente. Si Vd. ha recibido este mensaje > erroneamente, se ruega lo notifique al remitente y proceda a su borrado. > Gracias por su colaboracion. > > ______________________ > > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > |
From: Alexandre A. S. <aas...@gm...> - 2011-04-20 12:37:46
|
You're missing a CallBack object to populate all the features retrieved from geoserver in the layer and a proxy to get data from the server in Javascript. Have a look to my code, it works for me. OpenLayers.setProxyHost("gwtOpenLayersProxy?targetURL="); VectorOptions vectorOptions = new VectorOptions(); Vector eventsLayer = new Vector("Events", vectorOptions); WFSProtocolOptions wfsProtocolOptions = new WFSProtocolOptions("http://your-host/geoserver/ows","your-namespace", "your-wfs-layer"); wfsProtocolOptions.setGeometryName(your-geometry-field); wfsProtocolOptions.setSrsName("EPSG:4326"); wfsProtocolOptions.setVersion("1.1.0"); WFSProtocol wfsProtocol = new WFSProtocol(wfsProtocolOptions); // WFS Protocol is asynchronous, so we need to use a callback Callback callback = new Callback() { public void computeResponse(Response response) { try { VectorFeature[] features = response.getFeatures(); for ( VectorFeature feature : features ) { //Apply style depending on any attribute of you feature Style style = new Style(); style.setPointRadius(5); style.setFillColor("#00FF00"); feature.setStyle(style); } eventsLayer.addFeatures(features); } catch (Exception ex) { //ERROR } } }; WFSProtocolCRUDOptions options = new WFSProtocolCRUDOptions(callback); wfsProtocol.read(options); Hope it helps, Alex. ________________________________________ De: Jon Britton [jon...@go...] Enviado el: miércoles, 20 de abril de 2011 13:12 Para: gwt-openlayers-users Asunto: [Gwt-openlayers-users] WFS layers with GWT-OpenLayers Hi, I'm trying to add a WFS layer to my map but it's not displaying. Here is my code: WFSProtocolOptions wfsProtocolOptions = new WFSProtocolOptions(); wfsProtocolOptions.setUrl(featureType.getServiceUrl()); wfsProtocolOptions.setFeatureType(featureType.getName()); WFSProtocol wfsProtocol = new WFSProtocol(wfsProtocolOptions); VectorOptions vectorOptions = new VectorOptions(); vectorOptions.setProtocol(wfsProtocol); vectorOptions.setStrategies(new Strategy[]{new BBoxStrategy()}); mapLayer = new Vector(featureType.getName(), vectorOptions); SmartWPS.getSmartWPS().getMap().addLayer(mapLayer); Where the url is "http://li199-25.members.linode.com:8080/geoserver/wfs" and the layer name is "topp:tasmania_roads". I got this code from the showcase so I assumed it was all I needed. Am I missing something? BTW the WFS is public if anybody wants to try it out :-) Thanks, Jon ______________________ This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion. ______________________ |
From: Jon B. <jon...@go...> - 2011-04-20 11:12:28
|
Hi, I'm trying to add a WFS layer to my map but it's not displaying. Here is my code: WFSProtocolOptions wfsProtocolOptions = new WFSProtocolOptions(); wfsProtocolOptions.setUrl(featureType.getServiceUrl()); wfsProtocolOptions.setFeatureType(featureType.getName()); WFSProtocol wfsProtocol = new WFSProtocol(wfsProtocolOptions); VectorOptions vectorOptions = new VectorOptions(); vectorOptions.setProtocol(wfsProtocol); vectorOptions.setStrategies(new Strategy[]{new BBoxStrategy()}); mapLayer = new Vector(featureType.getName(), vectorOptions); SmartWPS.getSmartWPS().getMap().addLayer(mapLayer); Where the url is "http://li199-25.members.linode.com:8080/geoserver/wfs" and the layer name is "topp:tasmania_roads". I got this code from the showcase so I assumed it was all I needed. Am I missing something? BTW the WFS is public if anybody wants to try it out :-) Thanks, Jon |
From: Kjartan H. <kja...@gm...> - 2011-04-14 12:19:24
|
Hello All I'm new to gwt-openlayers and openlayers in general but I'm trying to filter wfs queries based on their attributes. I've seen how this can be done in openlayers with CQL filters but can't figure out how to implement this using the gwt-openlayers plugin. Can anyone point me in the right direction regarding this feature ? mbk -Kjartan |
From: Lukas J. <luk...@de...> - 2011-04-07 08:58:00
|
Quick and dirty · Include the jsfile in MODULE.gwt.xml · Place the code that should be executed inside a method jsDoWhenClicked() · Create jsnimethod public native doWhenClicked() that calls the function jsDoWhenClicked in the javascriptfile · In clickhandler of the button call doWhenClicked() Depending on the code you want executed you might instead translate it to Java or rewrite it into classes/methods to organize it better, but the above solutions does what you asked for. /Lukas Från: Mckeane Thomas [mailto:tho...@gm...] Skickat: den 6 april 2011 18:35 Till: Gwt...@li... Ämne: [Gwt-openlayers-users] How to calll javascript file in gwt Hello I would like to run a java-script file in gwt-openlayers and pass it to a button. When I click on the button the file is executed. I saw methods in gwt to call a function or variable in a javascript file. get an external variable: public native String getFirstName()/*-{ return $wnd.first_name; }-*/; calling a function: public native void setShowTrigger(BlueApp x)/*-{ $wnd.showBlueApp = function () { x.@com.company.client.BlueApp::runApp()(); }; }-*/; I would like to execute an entire javascript file. Any help would be greatly appreciated. Best Regards, Mckeane |
From: Mckeane T. <tho...@gm...> - 2011-04-06 16:34:58
|
Hello I would like to run a java-script file in gwt-openlayers and pass it to a button. When I click on the button the file is executed. I saw methods in gwt to call a function or variable in a javascript file. *get an external variable: * public native String getFirstName()/*-{ return $wnd.first_name; }-*/; *calling a function: * public native void setShowTrigger(BlueApp x)/*-{ $wnd.showBlueApp = function () { x.@com.company.client.BlueApp::runApp()(); }; }-*/; I would like to execute an entire javascript file. Any help would be greatly appreciated. Best Regards, Mckeane |
From: Lukas J. <luk...@de...> - 2011-04-06 09:34:41
|
Sure you could use the MapFish printer module to print the map and all its overlays (including vectordata). To get it to work you either need to load and wrap the Mapfish printprotocol (just one or two javascriptfiles needed) or write a "client"in gwt that sends the request to mapfish printerserver accourding to their restapi. Bear in mind though that all mapfish code is GPL3.0 and therefore has copy-left. On the server this is not a problem as you could deploy it either as a standalone server or as a part of geoserver. Using their js-files on the client side means that all your code must be released as GPL3.0 Another solution might be to create a printerfriendly view with openlayers and open this in a new window. This view could then be printed by the browser. /Lukas Från: Mckeane Thomas [mailto:tho...@gm...] Skickat: den 5 april 2011 18:11 Till: Gwt...@li... Ämne: [Gwt-openlayers-users] Print overlayed maps in gwt-openlayers. Hello, Is it possible to print maps/map areas (overlayed or not) using gwt-openlayers application? If I have a map with two or more layers overlayed of size say for example 50000 x 50000px previewing in gwt-openlayers, is there a way to print this image on a large paper while maintaining the quality of the image printed? Here's an example application: http://dev4.mapgears.com/bdga/bdgaWFS-T.html. Best Regards, Mckeane |
From: Mckeane T. <tho...@gm...> - 2011-04-05 16:10:45
|
Hello, Is it possible to *print* maps/map areas (overlayed or not) using * gwt-openlayers* application? If I have a map with two or more layers overlayed of size say for example 50000 x 50000px previewing in gwt-openlayers, is there a way to print this image on a large paper while maintaining the quality of the image printed? Here's an example application: http://dev4.mapgears.com/bdga/bdgaWFS-T.html. Best Regards, Mckeane |
From: Alexandre A. S. <aas...@gm...> - 2011-04-04 14:20:36
|
Hi, I'm newbie in gwt-openlayers and I'm a bit confused in how to do some stuff, specially zoomOut and measures. I saw several controls in the package org.gwtopenmaps.openlayers.client.control and most of them work great, but I spent some days trying to add measure and zoom out functionality without any success. In measure tool I'm using Measure class, but in the constructor I'm required to pass Handler..... but, where can I take this handler? I know in OpenLayer you can get it from OpenLayers.GetHandler(), but what's about gwt-openlayers? Where can I get the handler? About zoom out, I'm using ZoomOut class, with the next code: if (controlZoomOut==null) { controlZoomOut= new ZoomOut(); map.addControl(controlZoomOut); } controlZoomOut.activate(); controlZoomOut id declared as private variable at the beginning of the class. The thing is that my map doesn't enable zoomout functioanlity.... what am I missing? Thank in advance, Cheers, Alexandre Greetings from Spain ______________________ This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion. ______________________ |
From: Piotr T. <pi...@cg...> - 2011-03-31 14:38:23
|
W dniu 2011-03-29 14:58, Jon Britton pisze: > Hi, > > Is the snapshot version of gwt-openlayers available using Maven? > > Cheers, > > Jon > > You can always do on own build version: call mvn install:install-file -Dfile=gwt-openlayers-client-0.6-SNAPSHOT.jar -DgroupId=org.gwtopenmaps.openlayers -DartifactId=gwt-openlayers-client -Dversion=0.6 -Dpackaging=jar -DgeneratePom=true call mvn install:install-file -Dfile=gwt-openlayers-server-0.6-SNAPSHOT.jar -DgroupId=org.gwtopenmaps.openlayers -DartifactId=gwt-openlayers-server -Dversion=0.6 -Dpackaging=jar -DgeneratePom=true /Peter |
From: Jon B. <jon...@go...> - 2011-03-30 12:55:32
|
Actually, I lied. It's not available in that repository. It is somewhere though, I know because I've already downloaded it.... hmmm Jon On 30 March 2011 13:39, Lukas Johansson <luk...@de...> wrote: > Now thats good to know! > > /Lukas > > > > *Från:* Jon Britton [mailto:jon...@go...] > *Skickat:* den 30 mars 2011 14:32 > *Till:* Edwin Commandeur > *Kopia:* gwt-openlayers-users > *Ämne:* Re: [Gwt-openlayers-users] Snapshot on maven? > > > > Hi Edwin, > > > > It seems to be available from here: > > > > http://repo1.maven.org/maven2/org/gwtopenmaps/openlayers/ > > > > The 0.6-SNAPSHOT on there has the functionality I need, anyway. > > > > Jon > > On 29 March 2011 15:51, Edwin Commandeur <com...@gm...> > wrote: > > Hi Jon, > > I am afraid not. At least, I am not aware of it. > > Greetings, > Edwin > > > On 29 March 2011 14:58, Jon Britton <jon...@go...> wrote: > > Hi, > > Is the snapshot version of gwt-openlayers available using Maven? > > Cheers, > > Jon > > > > ------------------------------------------------------------------------------ > > Enable your software for Intel(R) Active Management Technology to meet > the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your > software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > _______________________________________________ > > Gwt-openlayers-users mailing list > > Gwt...@li... > > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > > > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |
From: Lukas J. <luk...@de...> - 2011-03-30 12:39:56
|
Now thats good to know! /Lukas Från: Jon Britton [mailto:jon...@go...] Skickat: den 30 mars 2011 14:32 Till: Edwin Commandeur Kopia: gwt-openlayers-users Ämne: Re: [Gwt-openlayers-users] Snapshot on maven? Hi Edwin, It seems to be available from here: http://repo1.maven.org/maven2/org/gwtopenmaps/openlayers/ The 0.6-SNAPSHOT on there has the functionality I need, anyway. Jon On 29 March 2011 15:51, Edwin Commandeur <com...@gm...<mailto:com...@gm...>> wrote: Hi Jon, I am afraid not. At least, I am not aware of it. Greetings, Edwin On 29 March 2011 14:58, Jon Britton <jon...@go...<mailto:jon...@go...>> wrote: > Hi, > Is the snapshot version of gwt-openlayers available using Maven? > Cheers, > Jon > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li...<mailto:Gwt...@li...> > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Gwt-openlayers-users mailing list Gwt...@li...<mailto:Gwt...@li...> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users |
From: Jon B. <jon...@go...> - 2011-03-30 12:32:14
|
Hi Edwin, It seems to be available from here: http://repo1.maven.org/maven2/org/gwtopenmaps/openlayers/ <http://repo1.maven.org/maven2/org/gwtopenmaps/openlayers/>The 0.6-SNAPSHOT on there has the functionality I need, anyway. Jon On 29 March 2011 15:51, Edwin Commandeur <com...@gm...> wrote: > Hi Jon, > > I am afraid not. At least, I am not aware of it. > > Greetings, > Edwin > > On 29 March 2011 14:58, Jon Britton <jon...@go...> wrote: > > Hi, > > Is the snapshot version of gwt-openlayers available using Maven? > > Cheers, > > Jon > > > ------------------------------------------------------------------------------ > > Enable your software for Intel(R) Active Management Technology to meet > the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your > software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > _______________________________________________ > > Gwt-openlayers-users mailing list > > Gwt...@li... > > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > > > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > |
From: Edwin C. <com...@gm...> - 2011-03-29 14:51:57
|
Hi Jon, I am afraid not. At least, I am not aware of it. Greetings, Edwin On 29 March 2011 14:58, Jon Britton <jon...@go...> wrote: > Hi, > Is the snapshot version of gwt-openlayers available using Maven? > Cheers, > Jon > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |
From: Jon B. <jon...@go...> - 2011-03-29 12:58:31
|
Hi, Is the snapshot version of gwt-openlayers available using Maven? Cheers, Jon |
From: Krishna R. A. <kri...@ym...> - 2011-03-21 09:59:36
|
Hi All, I am using the Openlayers GWT MapWidget to show the map on my application. I have managed to get the WMS feature info upon clicking on the any feature in the map. Now I have another requirement which is to have a context menu on the MapWidget and have a Show Attributes option on it. I tried to extend the MapWidget and override the onBrowserEvent but it doesn't seem to be working. Is there any other way to add the context menu on the MapWidget? Please advise. Thank you, K. |
From: Lukas J. <luk...@de...> - 2011-03-11 15:31:36
|
This should do the trick: wmsFeatOpt.setInfoFormat("application/vnd.ogc.gml"); //return result as gml Från: Krishna Rajendra Alapati [mailto:kri...@ym...] Skickat: den 8 mars 2011 14:50 Till: gwt...@li... Ämne: [Gwt-openlayers-users] GetFeatureInfo in xml format Hi All, I am requesting a WMS service to get feature info and would like to get the response as xml. I am using the following code to get feature info and getting html response always // set the options for getting the feature info OpenLayers.setProxyHost("/rs/gwtOpenLayersProxy?targetURL="); WMSGetFeatureInfoOptions wmsFeatOpt = new WMSGetFeatureInfoOptions(); wmsFeatOpt.setURL(config.getWmsURL()); wmsFeatOpt.setTitle("Get Feature Info"); wmsFeatOpt.setInfoFormat("text/xml"); wmsFeatOpt.setHover(true); wmsFeatOpt.setQueryVisible(true); WMSGetFeatureInfo info = new WMSGetFeatureInfo(wmsFeatOpt); info.addGetFeatureListener(new FeatureInfoListener()); map.addControl(info); info.activate(); I tried application/xml but still the same html response. How would I get a xml response ? Thank you, Krishna. |
From: Lukas J. <luk...@de...> - 2011-03-11 15:29:01
|
<Forgot reply-all> Ok, I added this functionality to gwt-ol and because of a misunderstanding between me and Edwin (I think it was) it did'nt make the 0.5 release. You'll need to build a version from source or get a version built by someone else. For the moment the only version I have was built on July 15:th 2010 and includes the features you'll need for the WMSGetFeatureInfo but it lacks a lot of things that where made for the 0.5 release. I might have time to build another version from latest source within a couple of days but I can't promise anything. /Lukas Från: Krishna Rajendra Alapati [mailto:kri...@ym...] Skickat: den 11 mars 2011 16:20 Till: gwt...@li... Kopia: Lukas Johansson Ämne: Re: SV: [Gwt-openlayers-users] GetFeatureInfo in xml format I tried that already and didn't worked that way. I think there is a bug in the bindings!!! info.getJSObject().setProperty("infoFormat", "application/vnd.ogc.gml"); does the magic for me and the format is set properly. I have seen that the version 0.5 of openlayes is seting the infoformat as the following /** * defaults to 'text/html' */ public void setInfoFormat(String infoFormat){ getJSObject().setProperty("infoformat", infoFormat); } it should be changed to the following /** * defaults to 'text/html' */ public void setInfoFormat(String infoFormat){ getJSObject().setProperty("infoFormat", infoFormat); } ________________________________ From: Lukas Johansson <luk...@de...> To: Krishna Rajendra Alapati <kri...@ym...>; "gwt...@li..." <gwt...@li...> Sent: Fri, 11 March, 2011 15:08:05 Subject: SV: [Gwt-openlayers-users] GetFeatureInfo in xml format This should do the trick: wmsFeatOpt.setInfoFormat("application/vnd.ogc.gml"); //return result as gml Från: Krishna Rajendra Alapati [mailto:kri...@ym...] Skickat: den 8 mars 2011 14:50 Till: gwt...@li... Ämne: [Gwt-openlayers-users] GetFeatureInfo in xml format Hi All, I am requesting a WMS service to get feature info and would like to get the response as xml. I am using the following code to get feature info and getting html response always // set the options for getting the feature info OpenLayers.setProxyHost("/rs/gwtOpenLayersProxy?targetURL="); WMSGetFeatureInfoOptions wmsFeatOpt = new WMSGetFeatureInfoOptions(); wmsFeatOpt.setURL(config.getWmsURL()); wmsFeatOpt.setTitle("Get Feature Info"); wmsFeatOpt.setInfoFormat("text/xml"); wmsFeatOpt.setHover(true); wmsFeatOpt.setQueryVisible(true); WMSGetFeatureInfo info = new WMSGetFeatureInfo(wmsFeatOpt); info.addGetFeatureListener(new FeatureInfoListener()); map.addControl(info); info.activate(); I tried application/xml but still the same html response. How would I get a xml response ? Thank you, Krishna. |
From: Krishna R. A. <kri...@ym...> - 2011-03-11 15:19:53
|
I tried that already and didn't worked that way. I think there is a bug in the bindings!!! info.getJSObject().setProperty("infoFormat", "application/vnd.ogc.gml"); does the magic for me and the format is set properly. I have seen that the version 0.5 of openlayes is seting the infoformat as the following /** * defaults to 'text/html' */ public void setInfoFormat(String infoFormat){ getJSObject().setProperty("infoformat", infoFormat); } it should be changed to the following /** * defaults to 'text/html' */ public void setInfoFormat(String infoFormat){ getJSObject().setProperty("infoFormat", infoFormat); } ________________________________ From: Lukas Johansson <luk...@de...> To: Krishna Rajendra Alapati <kri...@ym...>; "gwt...@li..." <gwt...@li...> Sent: Fri, 11 March, 2011 15:08:05 Subject: SV: [Gwt-openlayers-users] GetFeatureInfo in xml format This should do the trick: wmsFeatOpt.setInfoFormat("application/vnd.ogc.gml"); //return result as gml Från:Krishna Rajendra Alapati [mailto:kri...@ym...] Skickat: den 8 mars 2011 14:50 Till: gwt...@li... Ämne: [Gwt-openlayers-users] GetFeatureInfo in xml format Hi All, I am requesting a WMS service to get feature info and would like to get the response as xml. I am using the following code to get feature info and getting html response always // set the options for getting the feature info OpenLayers.setProxyHost("/rs/gwtOpenLayersProxy?targetURL="); WMSGetFeatureInfoOptions wmsFeatOpt = new WMSGetFeatureInfoOptions(); wmsFeatOpt.setURL(config.getWmsURL()); wmsFeatOpt.setTitle("Get Feature Info"); wmsFeatOpt.setInfoFormat("text/xml"); wmsFeatOpt.setHover(true); wmsFeatOpt.setQueryVisible(true); WMSGetFeatureInfo info = new WMSGetFeatureInfo(wmsFeatOpt); info.addGetFeatureListener(new FeatureInfoListener()); map.addControl(info); info.activate(); I tried application/xml but still the same html response. How would I get a xml response ? Thank you, Krishna. |
From: Krishna R. A. <kri...@ym...> - 2011-03-08 13:50:17
|
Hi All, I am requesting a WMS service to get feature info and would like to get the response as xml. I am using the following code to get feature info and getting html response always // set the options for getting the feature info OpenLayers.setProxyHost("/rs/gwtOpenLayersProxy?targetURL="); WMSGetFeatureInfoOptions wmsFeatOpt = new WMSGetFeatureInfoOptions(); wmsFeatOpt.setURL(config.getWmsURL()); wmsFeatOpt.setTitle("Get Feature Info"); wmsFeatOpt.setInfoFormat("text/xml"); wmsFeatOpt.setHover(true); wmsFeatOpt.setQueryVisible(true); WMSGetFeatureInfo info = new WMSGetFeatureInfo(wmsFeatOpt); info.addGetFeatureListener(new FeatureInfoListener()); map.addControl(info); info.activate(); I tried application/xml but still the same html response. How would I get a xml response ? Thank you, Krishna. |
From: Wigger T. <but...@ho...> - 2011-03-06 21:08:18
|
Dear all, Thank you for your help. unfortunately I haven't solved the problem yet. - My layout is the following: I have a dockpanel as root, and add an Absolute panel (containing the mapwidget) to the center of the Dockpanel.- I have tried both tiled and single tile layers. No real difference in result. Besides GWT I use smartgwt and incubator libraries. I used them before in other projects where they didn't seem to cause any problems. - In my map I dont believe other divs, like the selection element you mentioned, could cause the WMS div to move. Could it help if I send you the link to the application in a private email so you can see what happends? It seems that if I pan the WMS to the top left corner it fits again on the underground (OSM). Thanks again,Willem > Date: Fri, 4 Mar 2011 09:09:59 -0600 > From: Rol...@no... > To: gwt...@li... > Subject: Re: [Gwt-openlayers-users] WMS shifts to wrong location after zooming/panning > > Hi, > > On 03/04/2011 02:30 AM, Edwin Commandeur wrote: > > Are you using plain GWT or some GUI library? > > > > It is OpenLayers that calculates these offsets for tiled layers. > > Apparently it does this in way that does not play nice with GWT. Have > > you tried untiled (get's the whole map image in one go, versus in > > several tiles)? Or is that no option for you? > > I have found that problems like this crop up when the div that contains > the map moves on the page. My solution was to connect a function that > re-centers the map to events that cause the location of the map div to > move on the page. In our case we add and remove some selection elements > above the div pushing it up and down on the page and re-centering the > map each time one of those elements was added/removed fixed the problem. > > Roland > > > public void resizeMap() { > // Do a meaningless little calculation to force the map > to re-calibrate where it is on the page. > int zoom = map.getZoom(); > LonLat center = map.getCenter(); > map.setCenter(center, zoom); > } > > Greetings, > > Edwin > > > > On 3 March 2011 23:30, Wigger Tims<but...@ho...> wrote: > >> Dear List, > >> In my web application using gwt-openlayers 0.5 and GWT 2.04 I am > >> experiencing a rather annoying problem. When I initially load a WMS, it is > >> visualized without a problem. When I zoom, however, the WMS is shifted, most > >> of the time to the south east. After every pan/ zoom action the offset is > >> difference. When I use firebug in firefox I see can see that the DIV that > >> contains the image has a top and left offset as can be seen below: > >> <div style="overflow: hidden; position: absolute; z-index: 1; left: 218px; > >> top: 96px; width: 1004px; height: 496px;"><img id="OpenLayersDiv499" > >> style="width: 1004px; height: 496px; position: relative;" > >> class="olTileImage" > >> src="xxxxxx/deegree/services?FORMAT=image%2Fpng&TRANSPARENT=TRUE&LAYERS=Lakes%20Rwanda&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&_OLSALT=0.7358005342568256&BBOX=3186029.3265993,-283703.63671876,3493000.4269411,-132052.57519532&WIDTH=1004&HEIGHT=496"></div> > >> The image that is returned by Deegree is fine by the way. > >> Does anyone have an idea what is going wrong and what I can do to solve it? > >> Thanks in advance! > >> Best, > >> Willem > >> > >> > >> ------------------------------------------------------------------------------ > >> What You Don't Know About Data Connectivity CAN Hurt You > >> This paper provides an overview of data connectivity, details > >> its effect on application quality, and explores various alternative > >> solutions. http://p.sf.net/sfu/progress-d2d > >> _______________________________________________ > >> Gwt-openlayers-users mailing list > >> Gwt...@li... > >> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > >> > >> > > ------------------------------------------------------------------------------ > > What You Don't Know About Data Connectivity CAN Hurt You > > This paper provides an overview of data connectivity, details > > its effect on application quality, and explores various alternative > > solutions. http://p.sf.net/sfu/progress-d2d > > _______________________________________________ > > Gwt-openlayers-users mailing list > > Gwt...@li... > > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users |
From: Roland S. <Rol...@no...> - 2011-03-04 16:10:26
|
Hi, On 03/04/2011 02:30 AM, Edwin Commandeur wrote: > Are you using plain GWT or some GUI library? > > It is OpenLayers that calculates these offsets for tiled layers. > Apparently it does this in way that does not play nice with GWT. Have > you tried untiled (get's the whole map image in one go, versus in > several tiles)? Or is that no option for you? I have found that problems like this crop up when the div that contains the map moves on the page. My solution was to connect a function that re-centers the map to events that cause the location of the map div to move on the page. In our case we add and remove some selection elements above the div pushing it up and down on the page and re-centering the map each time one of those elements was added/removed fixed the problem. Roland public void resizeMap() { // Do a meaningless little calculation to force the map to re-calibrate where it is on the page. int zoom = map.getZoom(); LonLat center = map.getCenter(); map.setCenter(center, zoom); } > Greetings, > Edwin > > On 3 March 2011 23:30, Wigger Tims<but...@ho...> wrote: >> Dear List, >> In my web application using gwt-openlayers 0.5 and GWT 2.04 I am >> experiencing a rather annoying problem. When I initially load a WMS, it is >> visualized without a problem. When I zoom, however, the WMS is shifted, most >> of the time to the south east. After every pan/ zoom action the offset is >> difference. When I use firebug in firefox I see can see that the DIV that >> contains the image has a top and left offset as can be seen below: >> <div style="overflow: hidden; position: absolute; z-index: 1; left: 218px; >> top: 96px; width: 1004px; height: 496px;"><img id="OpenLayersDiv499" >> style="width: 1004px; height: 496px; position: relative;" >> class="olTileImage" >> src="xxxxxx/deegree/services?FORMAT=image%2Fpng&TRANSPARENT=TRUE&LAYERS=Lakes%20Rwanda&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&_OLSALT=0.7358005342568256&BBOX=3186029.3265993,-283703.63671876,3493000.4269411,-132052.57519532&WIDTH=1004&HEIGHT=496"></div> >> The image that is returned by Deegree is fine by the way. >> Does anyone have an idea what is going wrong and what I can do to solve it? >> Thanks in advance! >> Best, >> Willem >> >> >> ------------------------------------------------------------------------------ >> What You Don't Know About Data Connectivity CAN Hurt You >> This paper provides an overview of data connectivity, details >> its effect on application quality, and explores various alternative >> solutions. http://p.sf.net/sfu/progress-d2d >> _______________________________________________ >> Gwt-openlayers-users mailing list >> Gwt...@li... >> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >> >> > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users |
From: Edwin C. <com...@gm...> - 2011-03-04 08:31:06
|
Are you using plain GWT or some GUI library? It is OpenLayers that calculates these offsets for tiled layers. Apparently it does this in way that does not play nice with GWT. Have you tried untiled (get's the whole map image in one go, versus in several tiles)? Or is that no option for you? Greetings, Edwin On 3 March 2011 23:30, Wigger Tims <but...@ho...> wrote: > Dear List, > In my web application using gwt-openlayers 0.5 and GWT 2.04 I am > experiencing a rather annoying problem. When I initially load a WMS, it is > visualized without a problem. When I zoom, however, the WMS is shifted, most > of the time to the south east. After every pan/ zoom action the offset is > difference. When I use firebug in firefox I see can see that the DIV that > contains the image has a top and left offset as can be seen below: > <div style="overflow: hidden; position: absolute; z-index: 1; left: 218px; > top: 96px; width: 1004px; height: 496px;"><img id="OpenLayersDiv499" > style="width: 1004px; height: 496px; position: relative;" > class="olTileImage" > src="xxxxxx/deegree/services?FORMAT=image%2Fpng&TRANSPARENT=TRUE&LAYERS=Lakes%20Rwanda&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&_OLSALT=0.7358005342568256&BBOX=3186029.3265993,-283703.63671876,3493000.4269411,-132052.57519532&WIDTH=1004&HEIGHT=496"></div> > The image that is returned by Deegree is fine by the way. > Does anyone have an idea what is going wrong and what I can do to solve it? > Thanks in advance! > Best, > Willem > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |