|
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 |