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...> - 2009-08-09 22:58:45
|
Hi Cameron, Like the WMSGetFeatureInfo, the WFS support is also new in OpenLayers 2.8. The WFS support is high on my list to get working with GWT-OpenLayers, but currently it is not in GWT-OL. I am just reworking the GWT-OL code and showcase a little bit (removing warnings and deprecated AddClickListener stuff), but after that I think the WMSGetFeatureInfo Control and the WFS layer will be my primary goals. Having good WMS/WFS support is first on the list, and getting a good Google Maps example a good second. Would be nice to have you as beta tester of the WMSGetFeatureInfo and WFS support, when I get to it. I hope so this week. OpenLayers 2.8 does WFS requests via a cgi proxy to get past the cross-domain restrictions. As a user you should not concern yourself with that to much, but for your information... Greetings, Edwin ---------- Forwarded message ---------- From: Cameron Hunt <CH...@ci...> Date: 2009/8/10 Subject: RE: [Gwt-openlayers-users] Some general beginners questions To: Edwin Commandeur <com...@gm...> Thank you Edwin, I am using Geoserver so I will look into the WFS operations. Should I be able to perform these operations easily enough using GWT-Openlayers? Thanks. Regards Cameron ------------------------------ *From:* Edwin Commandeur [mailto:com...@gm...] *Sent:* Monday, 10 August 2009 07:20 AM *To:* AbdElhadi *Cc:* Cameron Hunt; gwt...@li... *Subject:* Re: [Gwt-openlayers-users] Some general beginners questions Hi Cameron, *GetFeatureInfo*: Abdelhadi is right about the feature info on a WMS. You would need a WMS server that supports GetFeatureInfo. GeoServer supports GetFeatureInfo requests for example, as does MapServer. Be careful: the GetFeatureInfo response has not been standardized by the OGC. Since OpenLayers 2.8, OpenLayers has WMSGetFeatureInfo control that abstracts over several different GetFeatureInfo response formats. I will add support for that control to GWT-OL. *Thematic mapping*: That is something I think you would have to achieve using SLD's (Styled Layer Descriptors). Since SLD's can get quite big, in our company we wrote a proxy for performing GetMap POST requests with custom SLD's. That proxy is closed source however. You will have to roll your own variant. *Printing*: Printing is always a bit problematic in my experience. You will probably want to build a PDF server side with the information on the map. If the map consists only of pictures (WMS layer, Legend graphics) then you can get quite far with some server side code and a PDF generation framework. There is one open source printing solution that I know of, and that is the MapPrintService in the MapFish framework. At the core it is a Java servlet and right now I am guessing it uses some Java PDF generation library. Printing vector features is a little more challenging. A simple solution for printing is to provide a separate page with a clone of the map in you app, and use the browser to print that. In my experience the vector features get printed also, but you have little control over the printing process itself. Greetings, Edwin Commandeur 2009/8/7 AbdElhadi <abd...@gm...> Hi Cameron, I don't think you can get the feature info from a WMS layer unless the WMS Server supports the GetFeatureInfo. a WMS is basically just an image. AS for Thematics, I don't think OL supports that but I am not sure. Cheers, -Abdelhadi On Thu, Aug 6, 2009 at 11:34 PM, Cameron Hunt <CH...@ci...> wrote: Hi, I’ve just started using GWT-Openlayers and so far it looks great. Having said that I’ve only done a few basic things. I would very much appreciate it if somebody could give me a couple of quick pointers in the right direction for the following tasks please? - Finding out the information about an object (e.g. polygon) when user clicks on map (based on shapefile loaded in as WMS layer) - Thematic mapping (e.g. shading all polygons based on an attribute). - Printing. How do people provide basic printing to their users? Thank you. Regards, Cameron Hunt Software Developer Civica Solutions Pty Limited Ph: (07) 46393633 Fx: (07) 46393632 ch...@ci... www.civica.com.au -- This email is from Civica Pty Limited and it, together with any attachments, is confidential to the intended recipient(s) and the contents may be legally privileged or contain proprietary and private information. It is intended solely for the person to whom it is addressed. If you are not an intended recipient, you may not review, copy or distribute this email. If received in error, please notify the sender and delete the message from your system immediately. Any views or opinions expressed in this email and any files transmitted with it are those of the author only and may not necessarily reflect the views of Civica and do not create any legally binding rights or obligations whatsoever. Unless otherwise pre-agreed by exchange of hard copy documents signed by duly authorised representatives, contracts may not be concluded on behalf of Civica by email. Please note that neither Civica nor the sender accepts any responsibility for any viruses and it is your responsibility to scan the email and the attachments (if any). All email received and sent by Civica may be monitored to protect the business interests of Civica. ------------------------------------------------------------------------------ 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 -- Abdelhadi ------------------------------------------------------------------------------ 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 -- This email is from Civica Pty Limited and it, together with any attachments, is confidential to the intended recipient(s) and the contents may be legally privileged or contain proprietary and private information. It is intended solely for the person to whom it is addressed. If you are not an intended recipient, you may not review, copy or distribute this email. If received in error, please notify the sender and delete the message from your system immediately. Any views or opinions expressed in this email and any files transmitted with it are those of the author only and may not necessarily reflect the views of Civica and do not create any legally binding rights or obligations whatsoever. Unless otherwise pre-agreed by exchange of hard copy documents signed by duly authorised representatives, contracts may not be concluded on behalf of Civica by email. Please note that neither Civica nor the sender accepts any responsibility for any viruses and it is your responsibility to scan the email and the attachments (if any). All email received and sent by Civica may be monitored to protect the business interests of Civica. |
From: Edwin C. <com...@gm...> - 2009-08-09 21:20:03
|
Hi Cameron, *GetFeatureInfo*: Abdelhadi is right about the feature info on a WMS. You would need a WMS server that supports GetFeatureInfo. GeoServer supports GetFeatureInfo requests for example, as does MapServer. Be careful: the GetFeatureInfo response has not been standardized by the OGC. Since OpenLayers 2.8, OpenLayers has WMSGetFeatureInfo control that abstracts over several different GetFeatureInfo response formats. I will add support for that control to GWT-OL. *Thematic mapping*: That is something I think you would have to achieve using SLD's (Styled Layer Descriptors). Since SLD's can get quite big, in our company we wrote a proxy for performing GetMap POST requests with custom SLD's. That proxy is closed source however. You will have to roll your own variant. *Printing*: Printing is always a bit problematic in my experience. You will probably want to build a PDF server side with the information on the map. If the map consists only of pictures (WMS layer, Legend graphics) then you can get quite far with some server side code and a PDF generation framework. There is one open source printing solution that I know of, and that is the MapPrintService in the MapFish framework. At the core it is a Java servlet and right now I am guessing it uses some Java PDF generation library. Printing vector features is a little more challenging. A simple solution for printing is to provide a separate page with a clone of the map in you app, and use the browser to print that. In my experience the vector features get printed also, but you have little control over the printing process itself. Greetings, Edwin Commandeur 2009/8/7 AbdElhadi <abd...@gm...> > Hi Cameron, > > I don't think you can get the feature info from a WMS layer unless the WMS > Server supports the GetFeatureInfo. a WMS is basically just an image. > > AS for Thematics, I don't think OL supports that but I am not sure. > > Cheers, > -Abdelhadi > On Thu, Aug 6, 2009 at 11:34 PM, Cameron Hunt <CH...@ci...> wrote: > >> Hi, >> >> >> >> I’ve just started using GWT-Openlayers and so far it looks great. Having >> said that I’ve only done a few basic things. I would very much appreciate it >> if somebody could give me a couple of quick pointers in the right direction >> for the following tasks please? >> >> >> >> - Finding out the information about an object (e.g. polygon) when user >> clicks on map (based on shapefile loaded in as WMS layer) >> - Thematic mapping (e.g. shading all polygons based on an attribute). >> - Printing. How do people provide basic printing to their users? >> >> >> >> Thank you. >> >> >> >> Regards, >> >> Cameron Hunt >> Software Developer >> Civica Solutions Pty Limited >> >> Ph: (07) 46393633 >> Fx: (07) 46393632 >> ch...@ci... >> www.civica.com.au >> >> >> >> -- >> >> This email is from Civica Pty Limited and it, together with >> any attachments, is confidential to the intended recipient(s) >> and the contents may be legally privileged or contain >> proprietary and private information. It is intended solely >> for the person to whom it is addressed. If you are not an >> intended recipient, you may not review, copy or distribute >> this email. If received in error, please notify the sender >> and delete the message from your system immediately. Any >> views or opinions expressed in this email and any files >> transmitted with it are those of the author only and may >> not necessarily reflect the views of Civica and do not create >> any legally binding rights or obligations whatsoever. Unless >> otherwise pre-agreed by exchange of hard copy documents >> signed by duly authorised representatives, contracts may not >> be concluded on behalf of Civica by email. Please note that >> neither Civica nor the sender accepts any responsibility for >> any viruses and it is your responsibility to scan the email >> and the attachments (if any). All email received and sent by >> Civica may be monitored to protect the business interests of >> Civica. >> >> >> ------------------------------------------------------------------------------ >> 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 >> >> > > > -- > Abdelhadi > > > ------------------------------------------------------------------------------ > 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: AbdElhadi <abd...@gm...> - 2009-08-07 15:20:41
|
Hi Cameron, I don't think you can get the feature info from a WMS layer unless the WMS Server supports the GetFeatureInfo. a WMS is basically just an image. AS for Thematics, I don't think OL supports that but I am not sure. Cheers, -Abdelhadi On Thu, Aug 6, 2009 at 11:34 PM, Cameron Hunt <CH...@ci...> wrote: > Hi, > > > > I’ve just started using GWT-Openlayers and so far it looks great. Having > said that I’ve only done a few basic things. I would very much appreciate it > if somebody could give me a couple of quick pointers in the right direction > for the following tasks please? > > > > - Finding out the information about an object (e.g. polygon) when user > clicks on map (based on shapefile loaded in as WMS layer) > - Thematic mapping (e.g. shading all polygons based on an attribute). > - Printing. How do people provide basic printing to their users? > > > > Thank you. > > > > Regards, > > Cameron Hunt > Software Developer > Civica Solutions Pty Limited > > Ph: (07) 46393633 > Fx: (07) 46393632 > ch...@ci... > www.civica.com.au > > > > -- > > This email is from Civica Pty Limited and it, together with > any attachments, is confidential to the intended recipient(s) > and the contents may be legally privileged or contain > proprietary and private information. It is intended solely > for the person to whom it is addressed. If you are not an > intended recipient, you may not review, copy or distribute > this email. If received in error, please notify the sender > and delete the message from your system immediately. Any > views or opinions expressed in this email and any files > transmitted with it are those of the author only and may > not necessarily reflect the views of Civica and do not create > any legally binding rights or obligations whatsoever. Unless > otherwise pre-agreed by exchange of hard copy documents > signed by duly authorised representatives, contracts may not > be concluded on behalf of Civica by email. Please note that > neither Civica nor the sender accepts any responsibility for > any viruses and it is your responsibility to scan the email > and the attachments (if any). All email received and sent by > Civica may be monitored to protect the business interests of > Civica. > > > ------------------------------------------------------------------------------ > 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 > > -- Abdelhadi |
From: Cameron H. <CH...@ci...> - 2009-08-07 03:58:01
|
Hi, I've just started using GWT-Openlayers and so far it looks great. Having said that I've only done a few basic things. I would very much appreciate it if somebody could give me a couple of quick pointers in the right direction for the following tasks please? * Finding out the information about an object (e.g. polygon) when user clicks on map (based on shapefile loaded in as WMS layer) * Thematic mapping (e.g. shading all polygons based on an attribute). * Printing. How do people provide basic printing to their users? Thank you. Regards, Cameron Hunt Software Developer Civica Solutions Pty Limited Ph: (07) 46393633 Fx: (07) 46393632 ch...@ci... www.civica.com.au -- This email is from Civica Pty Limited and it, together with any attachments, is confidential to the intended recipient(s) and the contents may be legally privileged or contain proprietary and private information. It is intended solely for the person to whom it is addressed. If you are not an intended recipient, you may not review, copy or distribute this email. If received in error, please notify the sender and delete the message from your system immediately. Any views or opinions expressed in this email and any files transmitted with it are those of the author only and may not necessarily reflect the views of Civica and do not create any legally binding rights or obligations whatsoever. Unless otherwise pre-agreed by exchange of hard copy documents signed by duly authorised representatives, contracts may not be concluded on behalf of Civica by email. Please note that neither Civica nor the sender accepts any responsibility for any viruses and it is your responsibility to scan the email and the attachments (if any). All email received and sent by Civica may be monitored to protect the business interests of Civica. |
From: AbdElhadi <abd...@gm...> - 2009-08-06 21:13:16
|
Edwin, The hack is working although it's CPU hungry. The map is a lot less snappier with PNG than it is with GIFs (or maybe I just got biased by your warnings). As for adding major third party support like Google Maps', it doesn't seem like there is much work ahead, for some reason (most probably the new 2.8 ol bug fixes) I recompiled the code and Google maps layer is working with very few issues! Now that I really think about it, I think the issue I was having with Google Maps layer had more to do with ol 2.7 than with gwt-ol (In the source it was commented that the Google layer has to be a sub of EventLayer and some other class but it's not). so as an attempt to get around this, I inserted some native js function that takes the map object, builds the Google layer directly using the ol js constructor and then returns the new Map object which I reassign to the JSObject of the java one. This didn't work either. But now both java instantiation and the native one are working. Also, the issue I was having with firefox and that I mentioned in some earlier email is due to GXT and not gwt-openlayers. Cheers, On Tue, Jul 28, 2009 at 4:17 AM, Edwin Commandeur < com...@gm...> wrote: > Hi, > > I added a 'setApplyAlphaHack' property to layerOptions. By default the > alpha hack is off, because of performance reasons. This is the last thing I > put into GWT-OL 0.4. When you check out the code, you will notice that I > heightened the snapshot version number to 0.5. > > AbdElhadi, let me know if the alpha hack works and what the performance > impact is. I don't have IE6 installed on any machine I can think of, so I > cannot check it straightforwardly. > > GWT-OL 0.4 is up for download. I only have to change the website. Also I > will look into how I can change the wiki (any help on the documentation is > appreciated) and make it easier to get the showcase running (offer it as a > separate file?). > > For GWT-OL 0.5 I want to add support for the major third-party layers (such > as Google Maps) and improve OpenLayers functionality coverage overall > (especially now 2.8 is out). GWT-OL 0.4 should have been released after the > change of package name. Now a decent set of functionality is available in > binary form, and we can move on to the next. > > Greetings > Edwin > > > > 2009/7/21 AbdElhadi <abd...@gm...> > >> Hi, >> >> >> Anybody figured out yet how to use png format with wms layers without >> getting the gray color instead of alpha in IE6? Ultimately without having to >> go through native inline js? >> >> Also, is there a property somewhere that replaces the >> OpenLayers.IMAGE_RELOAD_ATTEMPS and OpenLayers.Util.onImageLoadErrorColor? >> >> Thanks, >> -- >> Abdelhadi >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Gwt-openlayers-users mailing list >> Gwt...@li... >> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >> >> > -- Abdelhadi |
From: Edwin C. <com...@gm...> - 2009-07-28 08:25:23
|
Hi, I added a 'setApplyAlphaHack' property to layerOptions. By default the alpha hack is off, because of performance reasons. This is the last thing I put into GWT-OL 0.4. When you check out the code, you will notice that I heightened the snapshot version number to 0.5. AbdElhadi, let me know if the alpha hack works and what the performance impact is. I don't have IE6 installed on any machine I can think of, so I cannot check it straightforwardly. GWT-OL 0.4 is up for download. I only have to change the website. Also I will look into how I can change the wiki (any help on the documentation is appreciated) and make it easier to get the showcase running (offer it as a separate file?). For GWT-OL 0.5 I want to add support for the major third-party layers (such as Google Maps) and improve OpenLayers functionality coverage overall (especially now 2.8 is out). GWT-OL 0.4 should have been released after the change of package name. Now a decent set of functionality is available in binary form, and we can move on to the next. Greetings Edwin 2009/7/21 AbdElhadi <abd...@gm...> > Hi, > > Anybody figured out yet how to use png format with wms layers without > getting the gray color instead of alpha in IE6? Ultimately without having to > go through native inline js? > > Also, is there a property somewhere that replaces the > OpenLayers.IMAGE_RELOAD_ATTEMPS and OpenLayers.Util.onImageLoadErrorColor? > > Thanks, > -- > Abdelhadi > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |
From: Edwin C. <com...@gm...> - 2009-07-24 12:55:46
|
Hi AbdelHadi, png pictures in IE6 is pretty nasty. From a reliable source I understood that the css hack in OpenLayers has quite a performance impact. Even so, I will see if I can add it to GWT-OL (haven't been active on GWT-OL for a while now). Is it not possible to use gif pictures in IE6, or is the image quality very poor of the gif images from your WMS server? Another way is to apply a css hack to the css for image layers. Tiled images belong to the class 'olTileImage'. I am not sure to which class untiled images belong. Greetings, Edwin 2009/7/21 AbdElhadi <abd...@gm...> > Hi, > > Anybody figured out yet how to use png format with wms layers without > getting the gray color instead of alpha in IE6? Ultimately without having to > go through native inline js? > > Also, is there a property somewhere that replaces the > OpenLayers.IMAGE_RELOAD_ATTEMPS and OpenLayers.Util.onImageLoadErrorColor? > > Thanks, > -- > Abdelhadi > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |
From: AbdElhadi <abd...@gm...> - 2009-07-21 17:32:52
|
Hi, Anybody figured out yet how to use png format with wms layers without getting the gray color instead of alpha in IE6? Ultimately without having to go through native inline js? Also, is there a property somewhere that replaces the OpenLayers.IMAGE_RELOAD_ATTEMPS and OpenLayers.Util.onImageLoadErrorColor? Thanks, -- Abdelhadi |
From: AbdElhadi <abd...@gm...> - 2009-07-13 15:19:07
|
Thanks Edwin! On Mon, Jul 13, 2009 at 9:35 AM, Edwin Commandeur < com...@gm...> wrote: > Hi Abdelhadi, > > The problem you encounter with the Google maps layer seem to be quite > nasty. Unfortunetaly I am also pretty stacked with work, so I am not sure > when I have time to dive into this. > > With the WMS the any layer can be transparent, as long as the image format > you select supports this. The setIsTransparent property is a property on the > params object if I am correct and it sets a parameter of the WMS request. In > the WMS specification there is a parameter transparent that indicates if > places for which no data is avalaible should be rendered transparent > (otherwise they are rendered to some default colour of the WMS, probably > white or black). Setting isTransparent has nothing to do with the > transparency of the complete layer in the OpenLayers map, which you can > indicate by a float on the WMS object. > > BaseLayers are kind of a strange beast. They were needed to support > third-party layers like Google Maps, as far as I understand. We are using > WMS layers and the baselayer is some transparent fixed image that is not > shown in the LayerList. > > Greetings, > Edwin > > 2009/7/13 AbdElhadi <abd...@gm...> > > Hi Edwin, >> >> Sorry for taking this long to answer your email. It's a little bit crazy >> at work lately and I haven't gotten the time to look at this until now. >> >> In my previous email, I was refering to the Google maps layer and not any >> WMS layer. And I tested this in the hosted mode browser, firefox 3.5 and IE6 >> and it behaves the same in all of them. Plus, I am not using EXT-GWT (YET) >> >> But, going back to the wms, playing with the transparency, I came across >> another issue. It seems that a wms layer has to be set as Baselayer in order >> for it to be transparent. Otherwise you get no maps. Have you ever >> encountered this? >> By looking at both the gwt-openlayers and the Javascript openlayers code >> (not so confidently since I am still a js newbie), it seems that the >> setIsBaseLayer does much more than just setting some property to true, which >> setIsTransparent does. >> >> Thanks again, >> >> Cheers, >> -Hadi >> >> >> On Wed, Jul 8, 2009 at 3:36 AM, Edwin Commandeur < >> com...@gm...> wrote: >> >>> Hi Abdelhadi, >>> >>> With respect to issue 1. Do you see that in a plain GWT application? And >>> is it across browsers? >>> >>> We have a problem like you are describing when using Ext-GWT, where WMS >>> layers only load in a small corner of the map, until resize. This happens >>> only in Firefox for us. In Firefox 3.5 the map is completely gone. We do not >>> experience this problems in a plain GWT app and it seems to have something >>> to do with the lifecycle of Ext-GWT components (they only get a size when >>> rendered if I am correct). >>> >>> Greetings, >>> Edwin >>> >>> 2009/7/7 AbdElhadi <abd...@gm...> >>> >>> Thanks Edwin. I appreciate it. >>>> >>>> >>>> On Tue, Jul 7, 2009 at 4:00 AM, Edwin Commandeur < >>>> com...@gm...> wrote: >>>> >>>>> Hi AbdelHadi, >>>>> >>>>> Thanks for giving feedback on using the Google Maps layer. I really >>>>> appreciate that you share your experiences. >>>>> >>>>> Issue 1 you are describing is something that I have seen before for WMS >>>>> layers on Firefox, but only in a Ext-GWT app (strangely enough it does not >>>>> happen in the showcase). Up to now I have not been able to track down the >>>>> problem. This is one to drill down on when I have some time, because it is a >>>>> nasty problem. >>>>> >>>>> Issue 2 could have something to do with the isFixed property of >>>>> EventPane, but that is purely upon glancing the API docs. Anyway, I added >>>>> EventPaneOptions and GoogleOptions now extend this class. >>>>> >>>>> The function setSphericalMercator is a setter for the sphericalMercator >>>>> property of the Goolge Layer in OL. It also strikes me as strange to have >>>>> such a property on the Google Layer itself, as it affects the entire map, >>>>> but it looks like a convenience feature of OL to set a property on the >>>>> Google Layer in order to make vector layers and the like work. >>>>> >>>>> Greetings, >>>>> Edwin >>>>> >>>>> 2009/7/6 AbdElhadi <abd...@gm...> >>>>> >>>>>> Hi all, >>>>>> >>>>>> I was able to get a Google map to show up but not without many issues. >>>>>> All I had to do is to add the google maps api script call to the host html >>>>>> and add the following to my code: >>>>>> >>>>>> // create a google maps layer >>>>>> GoogleOptions ggLayerOptions = new GoogleOptions(); >>>>>> ggLayerOptions.setSphericalMercator(false); >>>>>> Google ggLayer = new Google("Google Base", ggLayerOptions); >>>>>> myMap.addLayer(ggLayer); >>>>>> >>>>>> The issues I am getting are as follow: >>>>>> >>>>>> 1- First, on page load, the GoogleMaps layer seems to cover a small >>>>>> area of the map extent until there is a resize event then it takes the same >>>>>> dimensions as the MapWidget. >>>>>> 2- GM doesn't respond to pan/move events when you use >>>>>> setSphericalMercator(true). Also, why is there such a function since all >>>>>> Google Maps are in Spherical Mercator? >>>>>> >>>>>> I am still playing with this and will report on more as I find them. >>>>>> >>>>>> Thanks, >>>>>> -- >>>>>> Abdelhadi >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> Gwt-openlayers-users mailing list >>>>>> Gwt...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >>>>>> >>>>>> >>>>> >>>> >>>> >>>> -- >>>> Abdelhadi >>>> >>> >>> >> >> >> -- >> Abdelhadi >> > > -- Abdelhadi |
From: Edwin C. <com...@gm...> - 2009-07-13 13:35:41
|
Hi Abdelhadi, The problem you encounter with the Google maps layer seem to be quite nasty. Unfortunetaly I am also pretty stacked with work, so I am not sure when I have time to dive into this. With the WMS the any layer can be transparent, as long as the image format you select supports this. The setIsTransparent property is a property on the params object if I am correct and it sets a parameter of the WMS request. In the WMS specification there is a parameter transparent that indicates if places for which no data is avalaible should be rendered transparent (otherwise they are rendered to some default colour of the WMS, probably white or black). Setting isTransparent has nothing to do with the transparency of the complete layer in the OpenLayers map, which you can indicate by a float on the WMS object. BaseLayers are kind of a strange beast. They were needed to support third-party layers like Google Maps, as far as I understand. We are using WMS layers and the baselayer is some transparent fixed image that is not shown in the LayerList. Greetings, Edwin 2009/7/13 AbdElhadi <abd...@gm...> > Hi Edwin, > > Sorry for taking this long to answer your email. It's a little bit crazy at > work lately and I haven't gotten the time to look at this until now. > > In my previous email, I was refering to the Google maps layer and not any > WMS layer. And I tested this in the hosted mode browser, firefox 3.5 and IE6 > and it behaves the same in all of them. Plus, I am not using EXT-GWT (YET) > > But, going back to the wms, playing with the transparency, I came across > another issue. It seems that a wms layer has to be set as Baselayer in order > for it to be transparent. Otherwise you get no maps. Have you ever > encountered this? > By looking at both the gwt-openlayers and the Javascript openlayers code > (not so confidently since I am still a js newbie), it seems that the > setIsBaseLayer does much more than just setting some property to true, which > setIsTransparent does. > > Thanks again, > > Cheers, > -Hadi > > > On Wed, Jul 8, 2009 at 3:36 AM, Edwin Commandeur < > com...@gm...> wrote: > >> Hi Abdelhadi, >> >> With respect to issue 1. Do you see that in a plain GWT application? And >> is it across browsers? >> >> We have a problem like you are describing when using Ext-GWT, where WMS >> layers only load in a small corner of the map, until resize. This happens >> only in Firefox for us. In Firefox 3.5 the map is completely gone. We do not >> experience this problems in a plain GWT app and it seems to have something >> to do with the lifecycle of Ext-GWT components (they only get a size when >> rendered if I am correct). >> >> Greetings, >> Edwin >> >> 2009/7/7 AbdElhadi <abd...@gm...> >> >> Thanks Edwin. I appreciate it. >>> >>> >>> On Tue, Jul 7, 2009 at 4:00 AM, Edwin Commandeur < >>> com...@gm...> wrote: >>> >>>> Hi AbdelHadi, >>>> >>>> Thanks for giving feedback on using the Google Maps layer. I really >>>> appreciate that you share your experiences. >>>> >>>> Issue 1 you are describing is something that I have seen before for WMS >>>> layers on Firefox, but only in a Ext-GWT app (strangely enough it does not >>>> happen in the showcase). Up to now I have not been able to track down the >>>> problem. This is one to drill down on when I have some time, because it is a >>>> nasty problem. >>>> >>>> Issue 2 could have something to do with the isFixed property of >>>> EventPane, but that is purely upon glancing the API docs. Anyway, I added >>>> EventPaneOptions and GoogleOptions now extend this class. >>>> >>>> The function setSphericalMercator is a setter for the sphericalMercator >>>> property of the Goolge Layer in OL. It also strikes me as strange to have >>>> such a property on the Google Layer itself, as it affects the entire map, >>>> but it looks like a convenience feature of OL to set a property on the >>>> Google Layer in order to make vector layers and the like work. >>>> >>>> Greetings, >>>> Edwin >>>> >>>> 2009/7/6 AbdElhadi <abd...@gm...> >>>> >>>>> Hi all, >>>>> >>>>> I was able to get a Google map to show up but not without many issues. >>>>> All I had to do is to add the google maps api script call to the host html >>>>> and add the following to my code: >>>>> >>>>> // create a google maps layer >>>>> GoogleOptions ggLayerOptions = new GoogleOptions(); >>>>> ggLayerOptions.setSphericalMercator(false); >>>>> Google ggLayer = new Google("Google Base", ggLayerOptions); >>>>> myMap.addLayer(ggLayer); >>>>> >>>>> The issues I am getting are as follow: >>>>> >>>>> 1- First, on page load, the GoogleMaps layer seems to cover a small >>>>> area of the map extent until there is a resize event then it takes the same >>>>> dimensions as the MapWidget. >>>>> 2- GM doesn't respond to pan/move events when you use >>>>> setSphericalMercator(true). Also, why is there such a function since all >>>>> Google Maps are in Spherical Mercator? >>>>> >>>>> I am still playing with this and will report on more as I find them. >>>>> >>>>> Thanks, >>>>> -- >>>>> Abdelhadi >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Gwt-openlayers-users mailing list >>>>> Gwt...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >>>>> >>>>> >>>> >>> >>> >>> -- >>> Abdelhadi >>> >> >> > > > -- > Abdelhadi > |
From: AbdElhadi <abd...@gm...> - 2009-07-13 03:15:00
|
Hi Edwin, Sorry for taking this long to answer your email. It's a little bit crazy at work lately and I haven't gotten the time to look at this until now. In my previous email, I was refering to the Google maps layer and not any WMS layer. And I tested this in the hosted mode browser, firefox 3.5 and IE6 and it behaves the same in all of them. Plus, I am not using EXT-GWT (YET) But, going back to the wms, playing with the transparency, I came across another issue. It seems that a wms layer has to be set as Baselayer in order for it to be transparent. Otherwise you get no maps. Have you ever encountered this? By looking at both the gwt-openlayers and the Javascript openlayers code (not so confidently since I am still a js newbie), it seems that the setIsBaseLayer does much more than just setting some property to true, which setIsTransparent does. Thanks again, Cheers, -Hadi On Wed, Jul 8, 2009 at 3:36 AM, Edwin Commandeur <com...@gm... > wrote: > Hi Abdelhadi, > > With respect to issue 1. Do you see that in a plain GWT application? And is > it across browsers? > > We have a problem like you are describing when using Ext-GWT, where WMS > layers only load in a small corner of the map, until resize. This happens > only in Firefox for us. In Firefox 3.5 the map is completely gone. We do not > experience this problems in a plain GWT app and it seems to have something > to do with the lifecycle of Ext-GWT components (they only get a size when > rendered if I am correct). > > Greetings, > Edwin > > 2009/7/7 AbdElhadi <abd...@gm...> > > Thanks Edwin. I appreciate it. >> >> >> On Tue, Jul 7, 2009 at 4:00 AM, Edwin Commandeur < >> com...@gm...> wrote: >> >>> Hi AbdelHadi, >>> >>> Thanks for giving feedback on using the Google Maps layer. I really >>> appreciate that you share your experiences. >>> >>> Issue 1 you are describing is something that I have seen before for WMS >>> layers on Firefox, but only in a Ext-GWT app (strangely enough it does not >>> happen in the showcase). Up to now I have not been able to track down the >>> problem. This is one to drill down on when I have some time, because it is a >>> nasty problem. >>> >>> Issue 2 could have something to do with the isFixed property of >>> EventPane, but that is purely upon glancing the API docs. Anyway, I added >>> EventPaneOptions and GoogleOptions now extend this class. >>> >>> The function setSphericalMercator is a setter for the sphericalMercator >>> property of the Goolge Layer in OL. It also strikes me as strange to have >>> such a property on the Google Layer itself, as it affects the entire map, >>> but it looks like a convenience feature of OL to set a property on the >>> Google Layer in order to make vector layers and the like work. >>> >>> Greetings, >>> Edwin >>> >>> 2009/7/6 AbdElhadi <abd...@gm...> >>> >>>> Hi all, >>>> >>>> I was able to get a Google map to show up but not without many issues. >>>> All I had to do is to add the google maps api script call to the host html >>>> and add the following to my code: >>>> >>>> // create a google maps layer >>>> GoogleOptions ggLayerOptions = new GoogleOptions(); >>>> ggLayerOptions.setSphericalMercator(false); >>>> Google ggLayer = new Google("Google Base", ggLayerOptions); >>>> myMap.addLayer(ggLayer); >>>> >>>> The issues I am getting are as follow: >>>> >>>> 1- First, on page load, the GoogleMaps layer seems to cover a small area >>>> of the map extent until there is a resize event then it takes the same >>>> dimensions as the MapWidget. >>>> 2- GM doesn't respond to pan/move events when you use >>>> setSphericalMercator(true). Also, why is there such a function since all >>>> Google Maps are in Spherical Mercator? >>>> >>>> I am still playing with this and will report on more as I find them. >>>> >>>> Thanks, >>>> -- >>>> Abdelhadi >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Gwt-openlayers-users mailing list >>>> Gwt...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >>>> >>>> >>> >> >> >> -- >> Abdelhadi >> > > -- Abdelhadi |
From: Edwin C. <com...@gm...> - 2009-07-08 07:36:35
|
Hi Abdelhadi, With respect to issue 1. Do you see that in a plain GWT application? And is it across browsers? We have a problem like you are describing when using Ext-GWT, where WMS layers only load in a small corner of the map, until resize. This happens only in Firefox for us. In Firefox 3.5 the map is completely gone. We do not experience this problems in a plain GWT app and it seems to have something to do with the lifecycle of Ext-GWT components (they only get a size when rendered if I am correct). Greetings, Edwin 2009/7/7 AbdElhadi <abd...@gm...> > Thanks Edwin. I appreciate it. > > > On Tue, Jul 7, 2009 at 4:00 AM, Edwin Commandeur < > com...@gm...> wrote: > >> Hi AbdelHadi, >> >> Thanks for giving feedback on using the Google Maps layer. I really >> appreciate that you share your experiences. >> >> Issue 1 you are describing is something that I have seen before for WMS >> layers on Firefox, but only in a Ext-GWT app (strangely enough it does not >> happen in the showcase). Up to now I have not been able to track down the >> problem. This is one to drill down on when I have some time, because it is a >> nasty problem. >> >> Issue 2 could have something to do with the isFixed property of EventPane, >> but that is purely upon glancing the API docs. Anyway, I added >> EventPaneOptions and GoogleOptions now extend this class. >> >> The function setSphericalMercator is a setter for the sphericalMercator >> property of the Goolge Layer in OL. It also strikes me as strange to have >> such a property on the Google Layer itself, as it affects the entire map, >> but it looks like a convenience feature of OL to set a property on the >> Google Layer in order to make vector layers and the like work. >> >> Greetings, >> Edwin >> >> 2009/7/6 AbdElhadi <abd...@gm...> >> >>> Hi all, >>> >>> I was able to get a Google map to show up but not without many issues. >>> All I had to do is to add the google maps api script call to the host html >>> and add the following to my code: >>> >>> // create a google maps layer >>> GoogleOptions ggLayerOptions = new GoogleOptions(); >>> ggLayerOptions.setSphericalMercator(false); >>> Google ggLayer = new Google("Google Base", ggLayerOptions); >>> myMap.addLayer(ggLayer); >>> >>> The issues I am getting are as follow: >>> >>> 1- First, on page load, the GoogleMaps layer seems to cover a small area >>> of the map extent until there is a resize event then it takes the same >>> dimensions as the MapWidget. >>> 2- GM doesn't respond to pan/move events when you use >>> setSphericalMercator(true). Also, why is there such a function since all >>> Google Maps are in Spherical Mercator? >>> >>> I am still playing with this and will report on more as I find them. >>> >>> Thanks, >>> -- >>> Abdelhadi >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Gwt-openlayers-users mailing list >>> Gwt...@li... >>> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >>> >>> >> > > > -- > Abdelhadi > |
From: AbdElhadi <abd...@gm...> - 2009-07-07 20:20:13
|
Thanks Edwin. I appreciate it. On Tue, Jul 7, 2009 at 4:00 AM, Edwin Commandeur <com...@gm... > wrote: > Hi AbdelHadi, > > Thanks for giving feedback on using the Google Maps layer. I really > appreciate that you share your experiences. > > Issue 1 you are describing is something that I have seen before for WMS > layers on Firefox, but only in a Ext-GWT app (strangely enough it does not > happen in the showcase). Up to now I have not been able to track down the > problem. This is one to drill down on when I have some time, because it is a > nasty problem. > > Issue 2 could have something to do with the isFixed property of EventPane, > but that is purely upon glancing the API docs. Anyway, I added > EventPaneOptions and GoogleOptions now extend this class. > > The function setSphericalMercator is a setter for the sphericalMercator > property of the Goolge Layer in OL. It also strikes me as strange to have > such a property on the Google Layer itself, as it affects the entire map, > but it looks like a convenience feature of OL to set a property on the > Google Layer in order to make vector layers and the like work. > > Greetings, > Edwin > > 2009/7/6 AbdElhadi <abd...@gm...> > >> Hi all, >> >> I was able to get a Google map to show up but not without many issues. All >> I had to do is to add the google maps api script call to the host html and >> add the following to my code: >> >> // create a google maps layer >> GoogleOptions ggLayerOptions = new GoogleOptions(); >> ggLayerOptions.setSphericalMercator(false); >> Google ggLayer = new Google("Google Base", ggLayerOptions); >> myMap.addLayer(ggLayer); >> >> The issues I am getting are as follow: >> >> 1- First, on page load, the GoogleMaps layer seems to cover a small area >> of the map extent until there is a resize event then it takes the same >> dimensions as the MapWidget. >> 2- GM doesn't respond to pan/move events when you use >> setSphericalMercator(true). Also, why is there such a function since all >> Google Maps are in Spherical Mercator? >> >> I am still playing with this and will report on more as I find them. >> >> Thanks, >> -- >> Abdelhadi >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Gwt-openlayers-users mailing list >> Gwt...@li... >> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >> >> > -- Abdelhadi |
From: Edwin C. <com...@gm...> - 2009-07-07 11:44:11
|
Hi AbdelHadi, Thanks for giving feedback on using the Google Maps layer. I really appreciate that you share your experiences. Issue 1 you are describing is something that I have seen before for WMS layers on Firefox, but only in a Ext-GWT app (strangely enough it does not happen in the showcase). Up to now I have not been able to track down the problem. This is one to drill down on when I have some time, because it is a nasty problem. Issue 2 could have something to do with the isFixed property of EventPane, but that is purely upon glancing the API docs. Anyway, I added EventPaneOptions and GoogleOptions now extend this class. The function setSphericalMercator is a setter for the sphericalMercator property of the Goolge Layer in OL. It also strikes me as strange to have such a property on the Google Layer itself, as it affects the entire map, but it looks like a convenience feature of OL to set a property on the Google Layer in order to make vector layers and the like work. Greetings, Edwin 2009/7/6 AbdElhadi <abd...@gm...> > Hi all, > > I was able to get a Google map to show up but not without many issues. All > I had to do is to add the google maps api script call to the host html and > add the following to my code: > > // create a google maps layer > GoogleOptions ggLayerOptions = new GoogleOptions(); > ggLayerOptions.setSphericalMercator(false); > Google ggLayer = new Google("Google Base", ggLayerOptions); > myMap.addLayer(ggLayer); > > The issues I am getting are as follow: > > 1- First, on page load, the GoogleMaps layer seems to cover a small area of > the map extent until there is a resize event then it takes the same > dimensions as the MapWidget. > 2- GM doesn't respond to pan/move events when you use > setSphericalMercator(true). Also, why is there such a function since all > Google Maps are in Spherical Mercator? > > I am still playing with this and will report on more as I find them. > > Thanks, > -- > Abdelhadi > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |
From: AbdElhadi <abd...@gm...> - 2009-07-06 21:47:41
|
Hi all, I was able to get a Google map to show up but not without many issues. All I had to do is to add the google maps api script call to the host html and add the following to my code: // create a google maps layer GoogleOptions ggLayerOptions = new GoogleOptions(); ggLayerOptions.setSphericalMercator(false); Google ggLayer = new Google("Google Base", ggLayerOptions); myMap.addLayer(ggLayer); The issues I am getting are as follow: 1- First, on page load, the GoogleMaps layer seems to cover a small area of the map extent until there is a resize event then it takes the same dimensions as the MapWidget. 2- GM doesn't respond to pan/move events when you use setSphericalMercator(true). Also, why is there such a function since all Google Maps are in Spherical Mercator? I am still playing with this and will report on more as I find them. Thanks, -- Abdelhadi |
From: Edwin C. <com...@gm...> - 2009-06-25 08:37:14
|
Hi AbdElhadi, Thank you for pointing out the problem. I haven't done anything with Google Maps in GWT-OpenLayers, so I cannot help you out on short notice there. The Google Maps wrapper code has been created by Erdem and Aaron. I will try to get a Google example into the showcase, because I think it's really one of the strengths of OpenLayers that it can integrate with layers from different parties. It would be nice to have people that intensively use layers from different parties on board. Myself, I intensively use the WMS and Vector layers. Now that OpenLayers 2.8 has WFS support I also want to devote more attention to that. I tried out the showcase with OL 2.8 this morning and everything seems to work fine :-)... Greetings, Edwin 2009/6/24 AbdElhadi <abd...@gm...> > Hi Ed! > > Thanks for quickly fixing this. I have tested it today and it works like a > charm. > Thanks for the heads up about the event model too, I see that you have > changed the showcase accordingly. > > I have a question regarding the use of Google Maps with the plugin. I don't > see any sample in the showcase. I haven't really made the effort of looking > in the api which I am going to do now but thought I would ask you as well. > > Thanks, > > > On Tue, Jun 23, 2009 at 3:31 PM, Edwin Commandeur < > com...@gm...> wrote: > >> Hi Abdelhadi, >> >> You were totally right. The MousePositionOutput wasn't working in the >> showcase. This was because of unnecessary html sanitization. The minus sign >> was not on the sanitization whitelist, but I removed sanitization at that >> place completely and checked it into Mercurial. The custom mouse position >> output should now just work :-)... >> >> I also changed the event system in that only an EventObject is passed to >> the onHandle method of EventHandler and that has consequences for most >> Listeners. Previously, the source was already on the EventObject, but also >> passed in separately. This is a bit wasteful. The MapEvent class in the >> showcase has been accordingly updated. >> >> Greetings, >> Edwin >> >> >> >> 2009/6/22 AbdElhadi <abd...@gm...> >> >>> Thanks for the quick answer. I actually used Mercurial as explained in >>> the dev ref. I don't know why I mentioned CVS (I used it before and maybe it >>> was stuck in the back of my head). >>> >>> I am using openlayers 2.7 and I looked at the MousePositionOutput code >>> and it doesn't seem to be doing much. All it does is some string >>> concatenation. >>> >>> Update: you are quick! I haven't even finished my first reply.. well >>> thanks again for the follow up. >>> >>> I do enjoy gwt-openlayers... so far :). It is the most advanced gwt port >>> of openlayersr that I could found out there. >>> >>> As per your questions: as I said, I am using 2.7 ol and I get the same >>> behavior when I run the sample in ff. I am using nothing special for the >>> framework since I am using sctrictly what's in the showcase sample code. >>> >>> The "basic WMS" sample has a mouse location display too and I don't see >>> the problem there. I will digg further and let you know if I find anything, >>> >>> Thanks, >>> >>> >>> >>> >>> >>> On Mon, Jun 22, 2009 at 3:50 PM, Edwin Commandeur < >>> com...@gm...> wrote: >>> >>>> Hi Abdelhadi, >>>> >>>> Are you using custom mouse position output? Then it might have something >>>> to do with the sanitization function which is applied to formatOut. Now that >>>> I think more about that function I guess I should take it out there, because >>>> to abuse MousePositionOutput format's method malicious javascript should >>>> already get the chance to execute. I will do that this week (next week I >>>> hope to have time to release 0.4) >>>> >>>> Which version of OpenLayers are you using? >>>> >>>> As an aside: You say that you got the 0.4-SNAPSHOT version from CVS. >>>> Recently (last month) the code has been migrated to a Mercurial repository >>>> and the latest changes are in there. See the wiki (or the link on the >>>> website) or the Developers guide on how to build the jar from source. >>>> >>>> Greetings, >>>> Edwin Commandeur >>>> >>>> 2009/6/22 AbdElhadi <abd...@gm...> >>>> >>>>> Hello all, >>>>> >>>>> I have opened an issue on the sourceforge tracker but thought somebody >>>>> might already have dealt with this. >>>>> >>>>> I am still trying to learn the basics so I am using the showcase >>>>> samples. All is fine except from some depricated uses here and there but it >>>>> seems that the MousePosition sample is not working properly though. I only >>>>> get the mouse position description to show up when I am in the 0-180 >>>>> longitude range. When I hover over a region on the negative longitude side, >>>>> the description doesn't show up. >>>>> >>>>> I am using the 0.4 version of gwt-openlayers that I got out using the >>>>> CVS service and I am using the 1.6.4 version of GWT. >>>>> >>>>> Thanks in advance, >>>>> >>>>> -- >>>>> Abdelhadi >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Are you an open source citizen? Join us for the Open Source Bridge >>>>> conference! >>>>> Portland, OR, June 17-19. Two days of sessions, one day of >>>>> unconference: $250. >>>>> Need another reason to go? 24-hour hacker lounge. Register today! >>>>> >>>>> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org >>>>> _______________________________________________ >>>>> Gwt-openlayers-users mailing list >>>>> Gwt...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >>>>> >>>>> >>>> >>> >>> >>> -- >>> Abdelhadi >>> >> >> > > > -- > Abdelhadi > |
From: AbdElhadi <abd...@gm...> - 2009-06-24 14:10:28
|
Hi Ed! Thanks for quickly fixing this. I have tested it today and it works like a charm. Thanks for the heads up about the event model too, I see that you have changed the showcase accordingly. I have a question regarding the use of Google Maps with the plugin. I don't see any sample in the showcase. I haven't really made the effort of looking in the api which I am going to do now but thought I would ask you as well. Thanks, On Tue, Jun 23, 2009 at 3:31 PM, Edwin Commandeur < com...@gm...> wrote: > Hi Abdelhadi, > > You were totally right. The MousePositionOutput wasn't working in the > showcase. This was because of unnecessary html sanitization. The minus sign > was not on the sanitization whitelist, but I removed sanitization at that > place completely and checked it into Mercurial. The custom mouse position > output should now just work :-)... > > I also changed the event system in that only an EventObject is passed to > the onHandle method of EventHandler and that has consequences for most > Listeners. Previously, the source was already on the EventObject, but also > passed in separately. This is a bit wasteful. The MapEvent class in the > showcase has been accordingly updated. > > Greetings, > Edwin > > > > 2009/6/22 AbdElhadi <abd...@gm...> > >> Thanks for the quick answer. I actually used Mercurial as explained in the >> dev ref. I don't know why I mentioned CVS (I used it before and maybe it was >> stuck in the back of my head). >> >> I am using openlayers 2.7 and I looked at the MousePositionOutput code and >> it doesn't seem to be doing much. All it does is some string concatenation. >> >> Update: you are quick! I haven't even finished my first reply.. well >> thanks again for the follow up. >> >> I do enjoy gwt-openlayers... so far :). It is the most advanced gwt port >> of openlayersr that I could found out there. >> >> As per your questions: as I said, I am using 2.7 ol and I get the same >> behavior when I run the sample in ff. I am using nothing special for the >> framework since I am using sctrictly what's in the showcase sample code. >> >> The "basic WMS" sample has a mouse location display too and I don't see >> the problem there. I will digg further and let you know if I find anything, >> >> Thanks, >> >> >> >> >> >> On Mon, Jun 22, 2009 at 3:50 PM, Edwin Commandeur < >> com...@gm...> wrote: >> >>> Hi Abdelhadi, >>> >>> Are you using custom mouse position output? Then it might have something >>> to do with the sanitization function which is applied to formatOut. Now that >>> I think more about that function I guess I should take it out there, because >>> to abuse MousePositionOutput format's method malicious javascript should >>> already get the chance to execute. I will do that this week (next week I >>> hope to have time to release 0.4) >>> >>> Which version of OpenLayers are you using? >>> >>> As an aside: You say that you got the 0.4-SNAPSHOT version from CVS. >>> Recently (last month) the code has been migrated to a Mercurial repository >>> and the latest changes are in there. See the wiki (or the link on the >>> website) or the Developers guide on how to build the jar from source. >>> >>> Greetings, >>> Edwin Commandeur >>> >>> 2009/6/22 AbdElhadi <abd...@gm...> >>> >>>> Hello all, >>>> >>>> I have opened an issue on the sourceforge tracker but thought somebody >>>> might already have dealt with this. >>>> >>>> I am still trying to learn the basics so I am using the showcase >>>> samples. All is fine except from some depricated uses here and there but it >>>> seems that the MousePosition sample is not working properly though. I only >>>> get the mouse position description to show up when I am in the 0-180 >>>> longitude range. When I hover over a region on the negative longitude side, >>>> the description doesn't show up. >>>> >>>> I am using the 0.4 version of gwt-openlayers that I got out using the >>>> CVS service and I am using the 1.6.4 version of GWT. >>>> >>>> Thanks in advance, >>>> >>>> -- >>>> Abdelhadi >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Are you an open source citizen? Join us for the Open Source Bridge >>>> conference! >>>> Portland, OR, June 17-19. Two days of sessions, one day of unconference: >>>> $250. >>>> Need another reason to go? 24-hour hacker lounge. Register today! >>>> >>>> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org >>>> _______________________________________________ >>>> Gwt-openlayers-users mailing list >>>> Gwt...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >>>> >>>> >>> >> >> >> -- >> Abdelhadi >> > > -- Abdelhadi |
From: Edwin C. <com...@gm...> - 2009-06-23 19:31:16
|
Hi Abdelhadi, You were totally right. The MousePositionOutput wasn't working in the showcase. This was because of unnecessary html sanitization. The minus sign was not on the sanitization whitelist, but I removed sanitization at that place completely and checked it into Mercurial. The custom mouse position output should now just work :-)... I also changed the event system in that only an EventObject is passed to the onHandle method of EventHandler and that has consequences for most Listeners. Previously, the source was already on the EventObject, but also passed in separately. This is a bit wasteful. The MapEvent class in the showcase has been accordingly updated. Greetings, Edwin 2009/6/22 AbdElhadi <abd...@gm...> > Thanks for the quick answer. I actually used Mercurial as explained in the > dev ref. I don't know why I mentioned CVS (I used it before and maybe it was > stuck in the back of my head). > > I am using openlayers 2.7 and I looked at the MousePositionOutput code and > it doesn't seem to be doing much. All it does is some string concatenation. > > Update: you are quick! I haven't even finished my first reply.. well thanks > again for the follow up. > > I do enjoy gwt-openlayers... so far :). It is the most advanced gwt port of > openlayersr that I could found out there. > > As per your questions: as I said, I am using 2.7 ol and I get the same > behavior when I run the sample in ff. I am using nothing special for the > framework since I am using sctrictly what's in the showcase sample code. > > The "basic WMS" sample has a mouse location display too and I don't see the > problem there. I will digg further and let you know if I find anything, > > Thanks, > > > > > > On Mon, Jun 22, 2009 at 3:50 PM, Edwin Commandeur < > com...@gm...> wrote: > >> Hi Abdelhadi, >> >> Are you using custom mouse position output? Then it might have something >> to do with the sanitization function which is applied to formatOut. Now that >> I think more about that function I guess I should take it out there, because >> to abuse MousePositionOutput format's method malicious javascript should >> already get the chance to execute. I will do that this week (next week I >> hope to have time to release 0.4) >> >> Which version of OpenLayers are you using? >> >> As an aside: You say that you got the 0.4-SNAPSHOT version from CVS. >> Recently (last month) the code has been migrated to a Mercurial repository >> and the latest changes are in there. See the wiki (or the link on the >> website) or the Developers guide on how to build the jar from source. >> >> Greetings, >> Edwin Commandeur >> >> 2009/6/22 AbdElhadi <abd...@gm...> >> >>> Hello all, >>> >>> I have opened an issue on the sourceforge tracker but thought somebody >>> might already have dealt with this. >>> >>> I am still trying to learn the basics so I am using the showcase samples. >>> All is fine except from some depricated uses here and there but it seems >>> that the MousePosition sample is not working properly though. I only get the >>> mouse position description to show up when I am in the 0-180 longitude >>> range. When I hover over a region on the negative longitude side, the >>> description doesn't show up. >>> >>> I am using the 0.4 version of gwt-openlayers that I got out using the CVS >>> service and I am using the 1.6.4 version of GWT. >>> >>> Thanks in advance, >>> >>> -- >>> Abdelhadi >>> >>> >>> ------------------------------------------------------------------------------ >>> Are you an open source citizen? Join us for the Open Source Bridge >>> conference! >>> Portland, OR, June 17-19. Two days of sessions, one day of unconference: >>> $250. >>> Need another reason to go? 24-hour hacker lounge. Register today! >>> >>> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org >>> _______________________________________________ >>> Gwt-openlayers-users mailing list >>> Gwt...@li... >>> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >>> >>> >> > > > -- > Abdelhadi > |
From: AbdElhadi <abd...@gm...> - 2009-06-22 20:20:38
|
Thanks for the quick answer. I actually used Mercurial as explained in the dev ref. I don't know why I mentioned CVS (I used it before and maybe it was stuck in the back of my head). I am using openlayers 2.7 and I looked at the MousePositionOutput code and it doesn't seem to be doing much. All it does is some string concatenation. Update: you are quick! I haven't even finished my first reply.. well thanks again for the follow up. I do enjoy gwt-openlayers... so far :). It is the most advanced gwt port of openlayersr that I could found out there. As per your questions: as I said, I am using 2.7 ol and I get the same behavior when I run the sample in ff. I am using nothing special for the framework since I am using sctrictly what's in the showcase sample code. The "basic WMS" sample has a mouse location display too and I don't see the problem there. I will digg further and let you know if I find anything, Thanks, On Mon, Jun 22, 2009 at 3:50 PM, Edwin Commandeur < com...@gm...> wrote: > Hi Abdelhadi, > > Are you using custom mouse position output? Then it might have something to > do with the sanitization function which is applied to formatOut. Now that I > think more about that function I guess I should take it out there, because > to abuse MousePositionOutput format's method malicious javascript should > already get the chance to execute. I will do that this week (next week I > hope to have time to release 0.4) > > Which version of OpenLayers are you using? > > As an aside: You say that you got the 0.4-SNAPSHOT version from CVS. > Recently (last month) the code has been migrated to a Mercurial repository > and the latest changes are in there. See the wiki (or the link on the > website) or the Developers guide on how to build the jar from source. > > Greetings, > Edwin Commandeur > > 2009/6/22 AbdElhadi <abd...@gm...> > >> Hello all, >> >> I have opened an issue on the sourceforge tracker but thought somebody >> might already have dealt with this. >> >> I am still trying to learn the basics so I am using the showcase samples. >> All is fine except from some depricated uses here and there but it seems >> that the MousePosition sample is not working properly though. I only get the >> mouse position description to show up when I am in the 0-180 longitude >> range. When I hover over a region on the negative longitude side, the >> description doesn't show up. >> >> I am using the 0.4 version of gwt-openlayers that I got out using the CVS >> service and I am using the 1.6.4 version of GWT. >> >> Thanks in advance, >> >> -- >> Abdelhadi >> >> >> ------------------------------------------------------------------------------ >> Are you an open source citizen? Join us for the Open Source Bridge >> conference! >> Portland, OR, June 17-19. Two days of sessions, one day of unconference: >> $250. >> Need another reason to go? 24-hour hacker lounge. Register today! >> >> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org >> _______________________________________________ >> Gwt-openlayers-users mailing list >> Gwt...@li... >> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users >> >> > -- Abdelhadi |
From: Edwin C. <com...@gm...> - 2009-06-22 19:53:54
|
Hi Abdelhadi, Are you using custom mouse position output? Then it might have something to do with the sanitization function which is applied to formatOut. Now that I think more about that function I guess I should take it out there, because to abuse MousePositionOutput format's method malicious javascript should already get the chance to execute. I will do that this week (next week I hope to have time to release 0.4) Which version of OpenLayers are you using? As an aside: You say that you got the 0.4-SNAPSHOT version from CVS. Recently (last month) the code has been migrated to a Mercurial repository and the latest changes are in there. See the wiki (or the link on the website) or the Developers guide on how to build the jar from source. Greetings, Edwin Commandeur 2009/6/22 AbdElhadi <abd...@gm...> > Hello all, > > I have opened an issue on the sourceforge tracker but thought somebody > might already have dealt with this. > > I am still trying to learn the basics so I am using the showcase samples. > All is fine except from some depricated uses here and there but it seems > that the MousePosition sample is not working properly though. I only get the > mouse position description to show up when I am in the 0-180 longitude > range. When I hover over a region on the negative longitude side, the > description doesn't show up. > > I am using the 0.4 version of gwt-openlayers that I got out using the CVS > service and I am using the 1.6.4 version of GWT. > > Thanks in advance, > > -- > Abdelhadi > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > Need another reason to go? 24-hour hacker lounge. Register today! > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |
From: AbdElhadi <abd...@gm...> - 2009-06-22 18:36:35
|
Hello all, I have opened an issue on the sourceforge tracker but thought somebody might already have dealt with this. I am still trying to learn the basics so I am using the showcase samples. All is fine except from some depricated uses here and there but it seems that the MousePosition sample is not working properly though. I only get the mouse position description to show up when I am in the 0-180 longitude range. When I hover over a region on the negative longitude side, the description doesn't show up. I am using the 0.4 version of gwt-openlayers that I got out using the CVS service and I am using the 1.6.4 version of GWT. Thanks in advance, -- Abdelhadi |
From: Curtis J. <cu...@th...> - 2009-03-20 20:08:13
|
zIndexes are how CSS defines what div blocks appear on top of overlapping div blocks. It's the normal concept of 3D space coordinates, where the z axis is perpendicular to the screen. The highest zIndex will be on top. I'm not expert either, this is the basics of what I know. It's isn't difficult to change the default zIndexes of OpenLayers (but is was difficult for me figure it out). It is very likely that someone else knows a better way. In my case, I was actually trying to make the map go lower in the z ordering. You may want yours to go higher. I used FireBug (Firefox plugin) to find the zIndex of the objects that were conflicting with my map. It took me a little while to find where OpenLayers was setting it's z indexes. They have a set of base indexes, and then build from there. If you over write the defaults, you can modify the z ordering of OpenLayers objects. This is the code I used: // OpenLayers default Z bases are 1000, 250, 750, 2000 private native JSObject getLowerMapZBase() /*-{ return { BaseLayer: -1000, Overlay: -750, Popup: -500, Control: 0 }; }-*/; MapOptions mapOptions = new MapOptions(); mapOptions.setAttribute("Z_INDEX_BASE", getLowerMapZBase()); On Fri, Mar 20, 2009 at 12:48 PM, Farrukh Najmi < fa...@we...> wrote: > > Thanks for the info. I am not familiar with zIndexes. Is there a solution > to the problem? > > Curtis Jensen wrote: > >> It could be a zIndex problem. I haven't been using SmartGWT, but I've ran >> into this problem. I've seen different browsers render it differently. >> OpenLayers uses zIndexes that are as high as 2000. If there is something >> higher than that, it could make the map appear to not show up. >> >> -- >> Curtis >> >> >> On Fri, Mar 20, 2009 at 9:49 AM, Farrukh Najmi < >> fa...@we... <mailto:fa...@we...>> >> wrote: >> >> >> Hi Evgeny, >> >> I believe you are using gwt-openlayers with SmartGWT. Did you run into >> repaint problems when UI was resized etc.? >> If so, how did you fix the problem? >> >> I sometime see the MapWidget disappear alltogether and sometimes see >> just the scale control. In the latter case clciking >> on scale control shows the map. >> >> >> Farrukh Najmi wrote: >> > I am using MapWidget inside another GWT toolkit. >> > I find that sometime when the container for MapWidget is repainted >> > the MapWidget does not get repainted. Is there a way to force >> repaint >> > of MapWidget (Sorry if this may be a generic GWT question). Thanks. >> >> > -- > Regards, > Farrukh > > Web: http://www.wellfleetsoftware.com > > > |
From: Farrukh N. <fa...@we...> - 2009-03-20 19:49:24
|
Thanks for the info. I am not familiar with zIndexes. Is there a solution to the problem? Curtis Jensen wrote: > It could be a zIndex problem. I haven't been using SmartGWT, but I've > ran into this problem. I've seen different browsers render it > differently. OpenLayers uses zIndexes that are as high as 2000. If > there is something higher than that, it could make the map appear to > not show up. > > -- > Curtis > > > On Fri, Mar 20, 2009 at 9:49 AM, Farrukh Najmi > <fa...@we... <mailto:fa...@we...>> > wrote: > > > Hi Evgeny, > > I believe you are using gwt-openlayers with SmartGWT. Did you run into > repaint problems when UI was resized etc.? > If so, how did you fix the problem? > > I sometime see the MapWidget disappear alltogether and sometimes see > just the scale control. In the latter case clciking > on scale control shows the map. > > > Farrukh Najmi wrote: > > I am using MapWidget inside another GWT toolkit. > > I find that sometime when the container for MapWidget is repainted > > the MapWidget does not get repainted. Is there a way to force > repaint > > of MapWidget (Sorry if this may be a generic GWT question). Thanks. > -- Regards, Farrukh Web: http://www.wellfleetsoftware.com |
From: Curtis J. <cur...@gm...> - 2009-03-20 19:43:39
|
It could be a zIndex problem. I haven't been using SmartGWT, but I've ran into this problem. I've seen different browsers render it differently. OpenLayers uses zIndexes that are as high as 2000. If there is something higher than that, it could make the map appear to not show up. -- Curtis On Fri, Mar 20, 2009 at 9:49 AM, Farrukh Najmi < fa...@we...> wrote: > > Hi Evgeny, > > I believe you are using gwt-openlayers with SmartGWT. Did you run into > repaint problems when UI was resized etc.? > If so, how did you fix the problem? > > I sometime see the MapWidget disappear alltogether and sometimes see > just the scale control. In the latter case clciking > on scale control shows the map. > > > Farrukh Najmi wrote: > > I am using MapWidget inside another GWT toolkit. > > I find that sometime when the container for MapWidget is repainted > > the MapWidget does not get repainted. Is there a way to force repaint > > of MapWidget (Sorry if this may be a generic GWT question). Thanks. > > > > > > > -- > Regards, > Farrukh > > Web: http://www.wellfleetsoftware.com > > > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > |
From: Farrukh N. <fa...@we...> - 2009-03-20 16:50:20
|
Hi Evgeny, I believe you are using gwt-openlayers with SmartGWT. Did you run into repaint problems when UI was resized etc.? If so, how did you fix the problem? I sometime see the MapWidget disappear alltogether and sometimes see just the scale control. In the latter case clciking on scale control shows the map. Farrukh Najmi wrote: > I am using MapWidget inside another GWT toolkit. > I find that sometime when the container for MapWidget is repainted > the MapWidget does not get repainted. Is there a way to force repaint > of MapWidget (Sorry if this may be a generic GWT question). Thanks. > > -- Regards, Farrukh Web: http://www.wellfleetsoftware.com |