From: Lukas J. <luk...@de...> - 2010-05-25 08:36:18
|
Ok, here it goes. I'm not 100% sure that the patch file was created correctly as my mercurial didn't honor the .hgignore file. I was therefore forced to edit the patch file to remove changes in .project and .classpath. The patch is more or less just a copy of the existing moveEvent and I tested it in our application where it seems to work. Anything else I should do/know about? /Lukas -----Ursprungligt meddelande----- Från: Edwin Commandeur [mailto:com...@gm...] Skickat: den 24 maj 2010 21:50 Till: Lukas Johansson Kopia: gwt...@li... Ämne: Re: [Gwt-openlayers-users] Event mapmoveend Hi Lukas, You seem to have it down. The classes you describe are all that are needed and you can just look at the MapMoveListener. Management of the listener happens via de EventListenerCollection on OpenLayersEObjectWrapper :). A diff would be fine. Looking forward to your patch! Greetings, Edwin On 24 May 2010 16:27, Lukas Johansson <luk...@de...> wrote: > At http://dev.openlayers.org/docs/files/OpenLayers/Map-js.html it is > stated that three events exists concerting the movement of the map: > > # movestart triggered after the start of a drag, pan, or zoom > # move triggered after each drag, pan, or zoom > # moveend triggered after a drag, pan, or zoom completes > > As far as I understand only move has been wrapped in gwt-ol. If I were > to wrap moveend (the one I need) am I correct in believing that I only > need to: > * create a interface MapMoveEndListener > * add eventType to EventType.java > * write a register method in Map.java > > How do I send the changeset to you? A diff of the project? > Best Regards > Lukas Johansson > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > |