From: Edwin C. <com...@gm...> - 2009-10-03 14:20:04
|
Hi Ken, I doesn't seem your missing the obvious. I guess the best way is to start from the OL clickhandler example. GWT-OL is missing a click control (which also isn't formally in OL, but would be convenient in GWT-OL) and it is also missing a wrapper for the clickhandler. How would you do it in pure javascript? Greetings, Edwin 2009/10/2 Ken Needham <ke...@ke...>: > Just started using GWT-OpenLayers so I may be missing the obvious here. > I need to implement a new handler for the map double click event (we just > want to centre on the click location rather than zoom to it as is the > default) > I can do it easily enough in pure javascript openlayers > But now I need to do it via gwt-openlayers > I've got as far as the addMapClickListener code but this only allows me to > handle a single click, as far as I can see > I know not all addXxxListener methods have not been implemented so what is > the best way for me to add the double click handler? > Any sort of nudge in the general direction would be much appreciated > Ken Needham > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® 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/devconf > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |