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: Edwin C. <com...@gm...> - 2010-02-08 20:14:10
|
Hi Andrew, I wonder when the updateSize method should be called. As far as I know it should work to let the OpenLayers div be 100% by 100% of the parent div, since the size of the div is requested from the div when it is needed. It seems that the updateSize method is a work-around for when you set a fixed width and height, while in reality the map is not fixed, but the parent div can be expanded and the div containing the map should resize to its parent. However, maybe I am missing out on something there. If you have a good use case for the XYZ class then please add it to Trac. You can create tickets without having to log in. It seems the XYZ class is a low-level thing intended for use in specific OpenLayers classes, such as the OSM layer. I see that it wrongly states above the XYZ constructor that it is the OSM layer constructor. We should possible wrap both the XYZ and the OSM layer, with the OSM layer extending XYZ. For OpenStreetMap things are a bit unclear to me, because there is also the TMS layer, which is wrapped by GWT-OL by someone who used OpenStreetMap. I am not sure which layer is more up to date XYZ/OSM or TMS. It seems that one of them is obsolete. The 'osm-layer.html' example in OpenLayers 2.8 includes OSM data by means of a WMS. The 'tms.html' does have a TMS layer, but is not what I expected to see. Andrew, if you know more about this, please let me know. Greetings, Edwin On 8 February 2010 05:54, Andrew Hughes <ahh...@gm...> wrote: > Hi Guys, > I have a few things I would like to add/wrap. > Map.updateSize() > http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.updateSize > Layer.XYZ > http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Layer/XYZ-js.html > > How would you like me to proceed? Do we raise issues or what first e.t.c??? > Cheers. > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |
From: Andrew H. <ahh...@gm...> - 2010-02-08 04:55:05
|
Hi Guys, I have a few things I would like to add/wrap. Map.updateSize() http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.updateSize Layer.XYZ http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Layer/XYZ-js.html How would you like me to proceed? Do we raise issues or what first e.t.c??? Cheers. |
From: Lukas J. <luk...@de...> - 2010-01-18 07:33:29
|
Thank you for your answer. I checked out the working copy and it worked. Från: "Cerávolo, Rafael V.B." [mailto:raf...@gm...] Skickat: den 15 januari 2010 18:26 Till: Lukas Johansson Kopia: gwt...@li... Ämne: Re: [Gwt-openlayers-users] Problem using SelectFeature. Hi Lukas, This issue happens on version 0.4 but was already fixed in the current source code (mercurial repository). You can get the last source code from the mercurial repository: http://gwt-openlayers.hg.sourceforge.net:8000/hgroot/gwt-openlayers/gwt-openlayers. Regards, Cerávolo On 15/01/2010 11:41, Lukas Johansson wrote: Hello, I'm trying to use SelectFeature in gwt-openlayers 0.4: Layer layer = new Vector(); Control cntrl = new SelectFeature(layer); SelectFeatureOptions options = new SelectFeatureOptions(); options.onSelect(new SelectFeatureListener() { public void onFeatureSelected(VectorFeature vectorFeature) { Window.alert("feature selected"); } }); options.onUnSelect(new UnselectFeatureListener() { public void onFeatureUnselected(JSObject vectorFeature) { Window.alert("feature unselected"); } }); map.addControl(cntrl); But when the code is executed I get the following error: 14:52:51.378 [WARN] [Standard] Member 'onFeatureUnselected(Lorg/gwtopenmaps/openlayers/client/feature/VectorFeature;)' in JSNI reference '@org.gwtopenmaps.openlayers.client.control.SelectFeature.UnselectFeatureListener::onFeatureUnselected(Lorg/gwtopenmaps/openlayers/client/feature/VectorFeature;)' could not be found; expect subsequent failures java.lang.NoSuchFieldError: onFeatureUnselected(Lorg/gwtopenmaps/openlayers/client/feature/VectorFeature;) I've noticed that the onFeatureUnselected receives a JSObject while the onFeatureSelected receives a VectorFeature which seams a bit odd. Any help would be appreciated. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Gwt-openlayers-users mailing list Gwt...@li... https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users |
From: Cerávolo, R. V.B. <raf...@gm...> - 2010-01-15 16:30:05
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hi Lukas,<br> <br> This issue happens on version 0.4 but was already fixed in the current source code (mercurial repository).<br> <br> You can get the last source code from the mercurial repository: <code><a class="moz-txt-link-freetext" href="http://gwt-openlayers.hg.sourceforge.net:8000/hgroot/gwt-openlayers/gwt-openlayers">http://gwt-openlayers.hg.sourceforge.net:8000/hgroot/gwt-openlayers/gwt-openlayers</a></code>.<br> <br> Regards,<br> Cerávolo<br> <br> On 15/01/2010 11:41, Lukas Johansson wrote: <blockquote cite="mid:A76...@ex..." type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="Generator" content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.E-postmall17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="Section1"> <p class="MsoNormal"><span lang="EN-US">Hello, I’m trying to use SelectFeature in gwt-openlayers 0.4:<o:p></o:p></span></p> <p class="MsoNormal">Layer layer = new Vector();<o:p></o:p></p> <p class="MsoNormal"><span lang="EN-US">Control cntrl = new SelectFeature(layer);<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">SelectFeatureOptions options = new SelectFeatureOptions();<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">options.onSelect(new SelectFeatureListener() { <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> public void onFeatureSelected(VectorFeature vectorFeature) {<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> Window.alert("feature selected");<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> }<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">});<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">options.onUnSelect(new UnselectFeatureListener() {<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> public void onFeatureUnselected(JSObject vectorFeature) {<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> Window.alert("feature unselected");<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> }<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">});<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">map.addControl(cntrl);<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">But when the code is executed I get the following error:<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">14:52:51.378 [WARN] [Standard] Member 'onFeatureUnselected(Lorg/gwtopenmaps/openlayers/client/feature/VectorFeature;)' in JSNI reference '@org.gwtopenmaps.openlayers.client.control.SelectFeature.UnselectFeatureListener::onFeatureUnselected(Lorg/gwtopenmaps/openlayers/client/feature/VectorFeature;)' could not be found; expect subsequent failures<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US">java.lang.NoSuchFieldError: onFeatureUnselected(Lorg/gwtopenmaps/openlayers/client/feature/VectorFeature;)<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">I’ve noticed that the onFeatureUnselected receives a JSObject while the onFeatureSelected receives a VectorFeature which seams a bit odd. <o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span lang="EN-US">Any help would be appreciated.<o:p></o:p></span></p> </div> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/rsaconf-dev2dev">http://p.sf.net/sfu/rsaconf-dev2dev</a></pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ Gwt-openlayers-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Gwt...@li...">Gwt...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users">https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users</a> </pre> </blockquote> <br> </body> </html> |
From: Lukas J. <luk...@de...> - 2010-01-15 14:54:35
|
Hello, I'm trying to use SelectFeature in gwt-openlayers 0.4: Layer layer = new Vector(); Control cntrl = new SelectFeature(layer); SelectFeatureOptions options = new SelectFeatureOptions(); options.onSelect(new SelectFeatureListener() { public void onFeatureSelected(VectorFeature vectorFeature) { Window.alert("feature selected"); } }); options.onUnSelect(new UnselectFeatureListener() { public void onFeatureUnselected(JSObject vectorFeature) { Window.alert("feature unselected"); } }); map.addControl(cntrl); But when the code is executed I get the following error: 14:52:51.378 [WARN] [Standard] Member 'onFeatureUnselected(Lorg/gwtopenmaps/openlayers/client/feature/VectorFe ature;)' in JSNI reference '@org.gwtopenmaps.openlayers.client.control.SelectFeature.UnselectFeatur eListener::onFeatureUnselected(Lorg/gwtopenmaps/openlayers/client/featur e/VectorFeature;)' could not be found; expect subsequent failures java.lang.NoSuchFieldError: onFeatureUnselected(Lorg/gwtopenmaps/openlayers/client/feature/VectorFea ture;) I've noticed that the onFeatureUnselected receives a JSObject while the onFeatureSelected receives a VectorFeature which seams a bit odd. Any help would be appreciated. |
From: Philipp V. <phi...@go...> - 2010-01-13 11:17:41
|
Got the answer myself... had to set the base layer to true: wmsLayerParams.setIsBaseLayer(true); Cheers! 2010/1/13 Philipp Verhoeven <phi...@go...> > Greetings, > > I'm trying to use an overview map with a different maplayer than shown in > the map window. But I have problems integrating the overview map layer. > Here is some code: > > > // Set up the WMS which extends Layer > WMSParams wmsParams = new WMSParams(); > wmsParams.setFormat("image/png"); > wmsParams.setIsTransparent(true); > wmsParams.setLayers("basic"); > wmsParams.setStyles("default"); > wmsParams.setMaxExtent(new Bounds(90, 0, 120, 20)); > > WMSOptions wmsLayerParams = new WMSOptions(); > wmsLayerParams.setIsBaseLayer(false); > wmsLayerParams.setLayerOpacity(1.0); > > WMS wmsLayer = new WMS("basic", " > http://labs.metacarta.com/wms/vmap0", > wmsParams, wmsLayerParams); > > OverviewMapOptions options = new OverviewMapOptions(); > Layer[] layers = new Layer[1]; > layers[0] = (Layer)wmsLayer; > options.setLayers(layers); > > map.getMap().addControl(new OverviewMap(options)); > > > Anyone knows whats wrong with the code? > > Cheers, > Philipp > |
From: Philipp V. <phi...@go...> - 2010-01-13 10:28:30
|
Greetings, I'm trying to use an overview map with a different maplayer than shown in the map window. But I have problems integrating the overview map layer. Here is some code: // Set up the WMS which extends Layer WMSParams wmsParams = new WMSParams(); wmsParams.setFormat("image/png"); wmsParams.setIsTransparent(true); wmsParams.setLayers("basic"); wmsParams.setStyles("default"); wmsParams.setMaxExtent(new Bounds(90, 0, 120, 20)); WMSOptions wmsLayerParams = new WMSOptions(); wmsLayerParams.setIsBaseLayer(false); wmsLayerParams.setLayerOpacity(1.0); WMS wmsLayer = new WMS("basic", "http://labs.metacarta.com/wms/vmap0 ", wmsParams, wmsLayerParams); OverviewMapOptions options = new OverviewMapOptions(); Layer[] layers = new Layer[1]; layers[0] = (Layer)wmsLayer; options.setLayers(layers); map.getMap().addControl(new OverviewMap(options)); Anyone knows whats wrong with the code? Cheers, Philipp |
From: Philipp V. <ve...@go...> - 2009-12-09 14:10:30
|
Greetings, I'm using a SmartGWT Window to display the openlayers map and the size can be given in absolute px*px or relative in % or *. Openlayers seems to need an absolute size to display the map. Am I right in this point? Is it possible to just load the map and fit it's size to the extent of the SmartGwt Window? Cheers, Philipp |
From: Carsten Ø. M. <co...@na...> - 2009-12-01 10:26:53
|
Hello I got OSM working with: MapOptions mapOptions = new MapOptions(); mapOptions.setNumZoomLevels(19); mapOptions.setProjection("EPSG:900913"); mapOptions.setUnits("m"); mapOptions.setDisplayProjection(new Projection("EPSG:4326")); mapOptions.setMaxExtent(new Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34)); mapOptions.setMaxResolution(156543.0399f); // let's create map widget and map objects MapWidget mapWidget = new MapWidget("350px", "350px", mapOptions); map = mapWidget.getMap(); LonLat center = new LonLat(11, 55); center.transform("EPSG:4326", "EPSG:900913"); TMSOptions o = new TMSOptions(); o.getJSObject().setProperty("type", "png"); // o.getJSObject().setProperty("displayOutsideMaxExtent", true); TMS osm = new TMS("Backdrop", "http://a.tile.openstreetmap.org/", o); osm.getJSObject().setProperty("getURL", createURL()); map.addLayers(new Layer[] { osm}); map.addControl(new LayerSwitcher()); OverviewMapOptions overviewMapOptions = new OverviewMapOptions(); //overviewMapOptions.setLayers(new Layer[] { wmsLayer }); map.addControl(new OverviewMap(overviewMapOptions)); map.addControl(new MousePosition()); map.addControl(new Navigation()); public static native JSObject createURL() /*-{ return function (bounds) { var res = this.map.getResolution(); var x = Math.round((bounds.left - this.maxExtent.left) / (res * this.tileSize.w)); var y = Math.round((this.maxExtent.top - bounds.top) / (res * this.tileSize.h)); var z = this.map.getZoom(); var limit = Math.pow(2, z); if (y < 0 || y >= limit) { return $wnd.OpenLayers.Util.getImagesLocation() + '404.png'; } else { x = ((x % limit) + limit) % limit; return this.url + z + '/' + x + '/' + y + '.' + this.type; } } }-*/; BR Carsten On 12/01/2009 10:54 AM, Philipp Verhoeven wrote: > Greetings, > > I'm new in devoloping with openlayers-gwt and I tried to use a > different WMS than the one that is used in the gwt-openlayers-showcase > (http://labs.metacarta.com/wms/vmap0...). > And I also tried to change the position of Map Controls (like > NavToolBar, MousePosition, PanZoom, ...). > > So far, my effort was not very effective. > > My goal is to use an openstreetmap layer (if possible to display the > whole world, if not at least asia) and to have the Map Controls in > some sort of toolbar at the top. > > I would be thankful for anything, especially code snippets. > > Cheers, > Philipp > > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > > > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > |
From: Philipp V. <ve...@go...> - 2009-12-01 09:54:31
|
Greetings, I'm new in devoloping with openlayers-gwt and I tried to use a different WMS than the one that is used in the gwt-openlayers-showcase (http://labs.metacarta.com/wms/vmap0...). And I also tried to change the position of Map Controls (like NavToolBar, MousePosition, PanZoom, ...). So far, my effort was not very effective. My goal is to use an openstreetmap layer (if possible to display the whole world, if not at least asia) and to have the Map Controls in some sort of toolbar at the top. I would be thankful for anything, especially code snippets. Cheers, Philipp |
From: Edwin C. <com...@gm...> - 2009-12-01 09:07:39
|
Hi David, First of all thanks for your previous contributions. I hope to soon have time to merge the user contributions into the main code base, but for now I am swamped with work unfortunately. It seems that you are mixing two questions in your question about the events. One about how GWT-OL abstracts OL events and one about OL events. In GWT-OL there is a wrapper of the OL event at a basic level of abstraction with the EventHandler, but this requires more knowledge of the user of the GWT-OL API. Therefore, a layer of abstraction has been build on top of the EventHandler that calls the EventHandler under the hood. Therefore, the second, higher layer of abstraction of OL events, builds on top of the basic abstraction and they are not two different things. GWT-OL events fired by controls and layers are specific for that layer, so not global. It could be that protocol HTTP returns a singleton and the effects are therefore global. I am not sure what you mean when you say 'when my wrapper was active'. The higher layer of abstraction of OL events also instrumented the registering and unregistering of events, because the EventListenerCollection keeps the information to do this. When a listener is unregistered that is registered via the EventListenerCollection it should no longer receive notifications of the event it was previously registered to. There is another way of listening to callbacks by the way, which is illustrated in org.gwtopenmaps.openlayers.client.control.SelectFeature. This uses the possibility to call "Java" code from javascript in GWT. This is useful if you are dealing with callbacks instead of events as thrown by the OL event object. Hope this is helpful for you. Greetings, Edwin 2009/11/30 David Potts <dav...@pi...>: > > Hi > > I trying to understand the event model used in gwt-openlayers > > As far as I understand it, there are two event models. > > The one based on openlayers register event, etc. > > The the model employed in gwt-openlayers, eg addMapClickListener from > Map.java. > > They are both based on the same code model, but I have an issue with the > openlayers one. > > I have written a wrapper for the OpenLayers.Protocol.HTTP function. Its > it provides several callback interfaces. In my wrapped version I support > both the use of the callback paramter and an addProtocol style function. > > As I expected when ever I accessed a file the callback function for the > success event fired. > > BUT my callback function installed by the gwt-openlayers function fired > whenever a file protocol event fired, ie when ever openlayer opens a file > my protocol specfic callback function was called, instead of only being > called when my protocol wrapper was active. > > It seems that anycallback function installed by an openlayers Listener > function are global,ie not tied to a specfic instance off an object. Is > this the expect results or should objects only get events that they > created? > > The only reason thatI ask is that I want to wrap some of the > Handler(Hover,Box, MouseWheel, etc) objects which have an extensive > system off callbacks functions and I want to get the right interface. > > Dave > -- > Any views expressed in this message are those of the individual sender, > except where the sender specifically states them to be the views of the > Pinan Software > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > |
From: David P. <dav...@pi...> - 2009-11-30 11:06:53
|
Hi I trying to understand the event model used in gwt-openlayers As far as I understand it, there are two event models. The one based on openlayers register event, etc. The the model employed in gwt-openlayers, eg addMapClickListener from Map.java. They are both based on the same code model, but I have an issue with the openlayers one. I have written a wrapper for the OpenLayers.Protocol.HTTP function. Its it provides several callback interfaces. In my wrapped version I support both the use of the callback paramter and an addProtocol style function. As I expected when ever I accessed a file the callback function for the success event fired. BUT my callback function installed by the gwt-openlayers function fired whenever a file protocol event fired, ie when ever openlayer opens a file my protocol specfic callback function was called, instead of only being called when my protocol wrapper was active. It seems that anycallback function installed by an openlayers Listener function are global,ie not tied to a specfic instance off an object. Is this the expect results or should objects only get events that they created? The only reason thatI ask is that I want to wrap some of the Handler(Hover,Box, MouseWheel, etc) objects which have an extensive system off callbacks functions and I want to get the right interface. Dave -- Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of the Pinan Software |
From: Dave P. <dav...@pi...> - 2009-11-20 06:53:00
|
Edwin Commandeur wrote: HI Edwin, Roland Thanks for this I will have a play with Mercurial Instead of dumping the svn, is it possible to get the source forge setup just to say we don't use svn, just the following to get a copy of the source code. Or perhaps make th esvn archive just include a read me file that says how to get the source code? Dave. > Hi Dave, > > Roland is correct, the code is in Mercurial. The SVN repository is > only there to make Trac happy (an SF issue). However, it has confused > so many people already that I am thinking about removing the SVN repo > and putting up with a red error bar in Trac. > > Greetings, > Edwin > > 2009/11/19 Roland Schweitzer <Rol...@no...>: > >> David, >> >> There is no SVN repository for this code. It's stored in a Mercurial >> repository instead. >> >> I was completely new to Mercurial when I started looking at this project so >> I had to go get a Mercurial client. I'm on Ubuntu so I was able to install >> the client with synaptic by searching Mercurial. Then pulling down the >> source is accomplished with a command similar to: >> >> hg clone >> http://gwt-openlayers.hg.sourceforge.net:8000/hgroot/gwt-openlayers/gwt-openlayers >> >> Roland >> >> David Potts wrote: >> >> Hi >> >> I have been trying to update my copy of the source code, and I seem to be >> getting some issues. >> >> Foolowing the instructions on >> http://sourceforge.net/scm/?type=svn&group_id=205333 >> >> Gets me a null directory structure >> >> Downloading the tar ball from >> http://gwt-openlayers.svn.sourceforge.net/viewvc/gwt-openlayers/ >> >> When uncompressed results an an empty diretory dating from 1/1/1970, which >> normally indicates a empty source code tree >> >> Trying to do svn co >> https://gwt-openlayers.svn.sourceforge.net/svnroot/gwt-openlayers >> gwt-openlayers >> Results in an empty tree >> >> I can see from the browse option on the 'Mercurial browse code' that the >> source code exists. >> >> Just how to I get a copy. >> >> regards >> >> >> Dave >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Gwt-openlayers-users mailing list >> Gwt...@li... >> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >> >> >> |
From: Edwin C. <com...@gm...> - 2009-11-19 22:10:58
|
Hi Dave, Roland is correct, the code is in Mercurial. The SVN repository is only there to make Trac happy (an SF issue). However, it has confused so many people already that I am thinking about removing the SVN repo and putting up with a red error bar in Trac. Greetings, Edwin 2009/11/19 Roland Schweitzer <Rol...@no...>: > David, > > There is no SVN repository for this code. It's stored in a Mercurial > repository instead. > > I was completely new to Mercurial when I started looking at this project so > I had to go get a Mercurial client. I'm on Ubuntu so I was able to install > the client with synaptic by searching Mercurial. Then pulling down the > source is accomplished with a command similar to: > > hg clone > http://gwt-openlayers.hg.sourceforge.net:8000/hgroot/gwt-openlayers/gwt-openlayers > > Roland > > David Potts wrote: > > Hi > > I have been trying to update my copy of the source code, and I seem to be > getting some issues. > > Foolowing the instructions on > http://sourceforge.net/scm/?type=svn&group_id=205333 > > Gets me a null directory structure > > Downloading the tar ball from > http://gwt-openlayers.svn.sourceforge.net/viewvc/gwt-openlayers/ > > When uncompressed results an an empty diretory dating from 1/1/1970, which > normally indicates a empty source code tree > > Trying to do svn co > https://gwt-openlayers.svn.sourceforge.net/svnroot/gwt-openlayers > gwt-openlayers > Results in an empty tree > > I can see from the browse option on the 'Mercurial browse code' that the > source code exists. > > Just how to I get a copy. > > regards > > > Dave > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |
From: Roland S. <Rol...@no...> - 2009-11-19 14:48:40
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> David,<br> <br> There is no SVN repository for this code. It's stored in a Mercurial repository instead.<br> <br> I was completely new to Mercurial when I started looking at this project so I had to go get a Mercurial client. I'm on Ubuntu so I was able to install the client with synaptic by searching Mercurial. Then pulling down the source is accomplished with a command similar to:<br> <br> <big><code>hg clone <a class="moz-txt-link-freetext" href="http://gwt-openlayers.hg.sourceforge.net:8000/hgroot/gwt-openlayers/gwt-openlayers">http://gwt-openlayers.hg.sourceforge.net:8000/hgroot/gwt-openlayers/gwt-openlayers</a></code><br> <code></code><code></code></big><br> Roland<br> <br> <code></code>David Potts wrote: <blockquote cite="mid:234...@dp..." type="cite"> <pre wrap="">Hi I have been trying to update my copy of the source code, and I seem to be getting some issues. Foolowing the instructions on <a class="moz-txt-link-freetext" href="http://sourceforge.net/scm/?type=svn&group_id=205333">http://sourceforge.net/scm/?type=svn&group_id=205333</a> Gets me a null directory structure Downloading the tar ball from <a class="moz-txt-link-freetext" href="http://gwt-openlayers.svn.sourceforge.net/viewvc/gwt-openlayers/">http://gwt-openlayers.svn.sourceforge.net/viewvc/gwt-openlayers/</a> When uncompressed results an an empty diretory dating from 1/1/1970, which normally indicates a empty source code tree Trying to do svn co <a class="moz-txt-link-freetext" href="https://gwt-openlayers.svn.sourceforge.net/svnroot/gwt-openlayers">https://gwt-openlayers.svn.sourceforge.net/svnroot/gwt-openlayers</a> gwt-openlayers Results in an empty tree I can see from the browse option on the 'Mercurial browse code' that the source code exists. Just how to I get a copy. regards Dave </pre> </blockquote> <br> </body> </html> |
From: David P. <dav...@pi...> - 2009-11-19 13:50:14
|
Hi I have been trying to update my copy of the source code, and I seem to be getting some issues. Foolowing the instructions on http://sourceforge.net/scm/?type=svn&group_id=205333 Gets me a null directory structure Downloading the tar ball from http://gwt-openlayers.svn.sourceforge.net/viewvc/gwt-openlayers/ When uncompressed results an an empty diretory dating from 1/1/1970, which normally indicates a empty source code tree Trying to do svn co https://gwt-openlayers.svn.sourceforge.net/svnroot/gwt-openlayers gwt-openlayers Results in an empty tree I can see from the browse option on the 'Mercurial browse code' that the source code exists. Just how to I get a copy. regards Dave -- Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of the Pinan Software |
From: Edwin C. <com...@gm...> - 2009-11-17 20:20:39
|
Hi Mikael, Sorry that I haven't had time to help you out. Thanks for looking into the issue and contributing source code. I just wanted to let you know that your contribution is highly appreciated. Greetings, Edwin 2009/11/3 Mikael Couzic <mik...@cl...>: > Hello, > > > I am working on a project involving GWT-OpenLayers, the project is in its > early phase and I'm currently building a prototype. > I'm using the 0.5 version because I need MapStyles. > > I have encountered technical limitations implementing two features, and I > felt I could use your advice : > > 1) Point radius proportional to the zoom > Here's an example of what I'd like to have : > http://www.palewire.com/openlayers-proportional-symbols/ > I guess I could use the zoom listener to implement this behaviour, but it > doesn't seem right. I'd rather delegate this task to OpenLayers. However, I > don't even know if it's possible (Did I mention I'm not very good in > JavaScript and JSNI ?). > I'd be happy to contribute to the project, but I woudn't like to start > anything before asking you guys if it's a good idea. > Maybe I can be more specific in my questions : > - Is it possible to implement such a behaviour in GWT-OpenLayers without > breaking the design ? > - How long would it take for a noob to master the art of JSNI enough to do > such a thing ? > - Where would you start ? > > 2) Handling both hover events and click events at the same time for vector > features > From my various tests, I concluded that the only way to trigger a feature > related event is through the SelectFeatureListener. It works great, but in > my case I want to trigger one event when the feature is hovered, and a > second when it is clicked. However, it is not possible because when it is > clicked it has already been selected by the hover. > >From what I've seen from the code and the OpenLayers API, it shouldn't be > too difficult to implement this behaviour using the > SelectFeature.clickFeature() method. > I think I could do it, but if you guys think you can get it done quickly you > might want to consider the option. > What do you say, should I create a Trac ticket and get to it ? > > By the way, thanks for the great tool, i'm sure lots of people like me have > found it useful. > > > -- > Mikael Couzic > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |
From: Mikael C. <mik...@cl...> - 2009-11-05 11:07:15
|
Hi again, I've taken it a step further : 1) Point radius proportional to the zoom After a few tests trying to delegate the functionnality to OpenLayers, I gave up. The whole thing was gonna end up in really bad design (with Style instances holding a reference to the Map instance). I'll just implement the whole thing with a zoom listener. By doing this, I run into a new feature I'd like to add to GWT-OpenLayers (being able to define the point radius as a string). I'll create the Trac ticket. 2) Handling both hover events and click events at the same time for vector features In fact it was very easy, I'll create the Trac ticket. -- Mikael Couzic 2009/11/3 Mikael Couzic <mik...@cl...> > Hello, > > > I am working on a project involving GWT-OpenLayers, the project is in its > early phase and I'm currently building a prototype. > I'm using the 0.5 version because I need MapStyles. > > I have encountered technical limitations implementing two features, and I > felt I could use your advice : > > 1) Point radius proportional to the zoom > Here's an example of what I'd like to have : > http://www.palewire.com/openlayers-proportional-symbols/ > I guess I could use the zoom listener to implement this behaviour, but it > doesn't seem right. I'd rather delegate this task to OpenLayers. However, I > don't even know if it's possible (Did I mention I'm not very good in > JavaScript and JSNI ?). > I'd be happy to contribute to the project, but I woudn't like to start > anything before asking you guys if it's a good idea. > Maybe I can be more specific in my questions : > - Is it possible to implement such a behaviour in GWT-OpenLayers without > breaking the design ? > - How long would it take for a noob to master the art of JSNI enough to do > such a thing ? > - Where would you start ? > > 2) Handling both hover events and click events at the same time for vector > features > From my various tests, I concluded that the only way to trigger a feature > related event is through the SelectFeatureListener. It works great, but in > my case I want to trigger one event when the feature is hovered, and a > second when it is clicked. However, it is not possible because when it is > clicked it has already been selected by the hover. > From what I've seen from the code and the OpenLayers API, it shouldn't be > too difficult to implement this behaviour using the > SelectFeature.clickFeature() method. > I think I could do it, but if you guys think you can get it done quickly > you might want to consider the option. > What do you say, should I create a Trac ticket and get to it ? > > By the way, thanks for the great tool, i'm sure lots of people like me have > found it useful. > > > -- > Mikael Couzic > > |
From: Mikael C. <mik...@cl...> - 2009-11-03 16:21:09
|
Hello, I am working on a project involving GWT-OpenLayers, the project is in its early phase and I'm currently building a prototype. I'm using the 0.5 version because I need MapStyles. I have encountered technical limitations implementing two features, and I felt I could use your advice : 1) Point radius proportional to the zoom Here's an example of what I'd like to have : http://www.palewire.com/openlayers-proportional-symbols/ I guess I could use the zoom listener to implement this behaviour, but it doesn't seem right. I'd rather delegate this task to OpenLayers. However, I don't even know if it's possible (Did I mention I'm not very good in JavaScript and JSNI ?). I'd be happy to contribute to the project, but I woudn't like to start anything before asking you guys if it's a good idea. Maybe I can be more specific in my questions : - Is it possible to implement such a behaviour in GWT-OpenLayers without breaking the design ? - How long would it take for a noob to master the art of JSNI enough to do such a thing ? - Where would you start ? 2) Handling both hover events and click events at the same time for vector features >From my various tests, I concluded that the only way to trigger a feature related event is through the SelectFeatureListener. It works great, but in my case I want to trigger one event when the feature is hovered, and a second when it is clicked. However, it is not possible because when it is clicked it has already been selected by the hover. >From what I've seen from the code and the OpenLayers API, it shouldn't be too difficult to implement this behaviour using the SelectFeature.clickFeature() method. I think I could do it, but if you guys think you can get it done quickly you might want to consider the option. What do you say, should I create a Trac ticket and get to it ? By the way, thanks for the great tool, i'm sure lots of people like me have found it useful. -- Mikael Couzic |
From: Thierry T. <te...@ya...> - 2009-10-26 17:50:39
|
Hello, I try to update the size of a map according to the size of its resizable container. I handle the resize event of the container and try to notify map and its layers to be also resized but it seems not to work. My maps come from geoserver and are displayed using GWT and GWT-Ext... Here is my code: mapWidget.setSize(panel.getWidth()+"px", panel.getHeight()+"px"); //mapWidget.getMap().updateSize(); Layer[] layers = mapWidget.getMap().getLayers(); for (Layer layer : layers) { JSObject props = layer.getJSObject(); props.setProperty("width", panel.getWidth()); props.setProperty("height", panel.getHeight()); layer.redraw(true); } panel.doLayout(false); Is my code correct or/and is there another way to do? Moreover I'm astonished not to find the updateSize on the map object. This one seems to implement this feature... Thanks very much for your answer and your great tool!! Thierry |
From: Roland S. <Rol...@no...> - 2009-10-21 23:06:26
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-15" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> David,<br> <br> Thanks very much for sending along the code to implement these features. A similar solution (and a number of other newly implemented features like the RegularPolygonHandler which are not in the currently released jar) are in the current head of the source code repository.<br> <br> We should probably create a new jar, but in the meantime you might find building from source fills in some holes in the current distribution.<br> <br> Roland<br> <br> David Potts wrote: <blockquote cite="mid:503...@dp..." type="cite"> <pre wrap="">Hi I wanted to resize and rotate an object, its an unimplemented feature. The attached files implemente a solution regards D. </pre> <pre wrap=""><pre wrap=""><pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/devconference">http://p.sf.net/sfu/devconference</a></pre><pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Gwt-openlayers-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Gwt...@li...">Gwt...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users">https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users</a> </pre></pre></pre> </blockquote> <br> </body> </html> |
From: David P. <dav...@pi...> - 2009-10-21 22:51:12
|
Hi I wanted to resize and rotate an object, its an unimplemented feature. The attached files implemente a solution regards D. -- Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of the Pinan Software |
From: Tuure L. <tuu...@in...> - 2009-10-18 23:55:33
|
Edwin Commandeur wrote: Finally got back to the GWT-OpenLayers code I was working on. > There is a developer mailing list that is only visible to developers > and there is Trac. > > I must say that both are still not used intensively. The activity is > still moderate, but if you like to help improve that you are more than > welcome. You can anonymously submit tickets to Trac, so that is also a > way to help out, because the tickets can serve to make up a roadmap > when attached to milestones. I was a bit hasty and added some issues to the SF issue tracker. I'll add the same issues to Trac. > If you have patches you can send them to me. I will have a look and > get them in if they are ok. If you are planning to contribute more, > than I would be happy to add you as developer. Since I am short on > time I also do not have the time to setup a very formal track to get > into the developer team. For now I added the patches to the tickets in Trac. I'm fairly sure I will keep fixing things/adding features that I need. If there's no development process, I think I'd rather contribute tickets+patches than have commit access, though. Access to the developer mailing list would be nice, though. |
From: Edwin C. <com...@gm...> - 2009-10-14 17:35:45
|
Hi Andrew, If you want to make a custom control into a reusable control, I would create a javascript file saying My.Namespacing.Object.ShiftClickDrag = OpenLayers.Util.extend( ... see example ...); And then wrap the ShiftClickDrag in a way similar to any other Control is wrapped in GWT-OL, but in a separate GWT-OL-Extension lib. For the latter I can only recommend to look at the code in the Mercurial repository. Greetings, Edwin 2009/10/14 Andrew Mason <an...@en...>: > Dear Edwin, > I am attempting to implement the functionality displayed > here http://www.openlayers.org/dev/examples/custom-control.html > using openlayers-gwt > The javascript code is this: > > var control = new OpenLayers.Control(); > OpenLayers.Util.extend(control, { > draw: function () { > // this Handler.Box will intercept the > shift-mousedown > // before Control.MouseDefault gets to see it > this.box = new OpenLayers.Handler.Box( control, > {"done": this.notice}, > {keyMask: OpenLayers.Handler.MOD_SHIFT}); > this.box.activate(); > }, > > notice: function (bounds) { > var ll = map.getLonLatFromPixel(new > OpenLayers.Pixel(bounds.left, bounds.bottom)); > var ur = map.getLonLatFromPixel(new > OpenLayers.Pixel(bounds.right, bounds.top)); > alert(ll.lon.toFixed(4) + ", " + > ll.lat.toFixed(4) + ", " + > ur.lon.toFixed(4) + ", " + > ur.lat.toFixed(4)); > } > }); > > map.addLayer(layer); > map.addControl(control); > > But I'm having difficulty identifying how this can be done using > openlayers-gwt. Have you any advice you can give me on how to achieve this? > > Thank you > > Andrew Mason > > ************************************************** > Web enabled software design & development > Andrew Mason > Director > Environ-IT Ltd. > t: 0131 208 1402 > t: 01899 880 200 > m: 07919 967494 > e: an...@en... > > > > |
From: Edwin C. <com...@gm...> - 2009-10-12 06:07:56
|
Hi Ricky, There is a GWT-OL example in the showcase in the Mercurial trunk. StyleMap support is a recent addition to GWT-OL, that is not yet in GWT-OL 0.4. Greetings and good luck, Edwin 2009/10/11 ricky chen <clo...@gm...>: > Hi there, > > are there gwt-openlayer examples on using Vector + StyledMap? Sort of > like the styled vectors in > http://openlayers.org/dev/examples/ordering.html > > i am using Markers to represent icons at the moment (and where needed, > overriding icon's draw method to display labels), however the OL > documentation seem to suggest markers should be replaced by Vectors > (http://docs.openlayers.org/library/overlays.html), so I'm wondering > if anyone knows how to do that in GWT-Openlayers? Thanks > > regards, > Ricky > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > |