From: Couzic M. <mik...@gm...> - 2010-07-01 10:36:00
|
Hi Vanessa, If you feel like you should use OpenLayers.Control.Button, then just implement it in GWT-OpenLayers ! That's how I became a contributor, I needed some functionnality that wasn't implemented, so I just did it myself. It's not that hard, and you can always ask for help if you need. I have 2 advices to help you start : - develop a working example using OpenLayers in JavaScript. It will help you get a grasp of the API. It doesn't have to be complicated, just do something like this : http://funmap.co.uk/openlayers-test/buttons.html - study an existing class of GWT-OL. Choose one that is as similar as possible to the one you want to implement. Please do not hesitate to ask for help if needed. Mikael Couzic 2010/7/1 Towers, Vanessa <Van...@ds...> > Hi Brad, > > I am also using Ext GWT for my UI widgets and I agree the toolbar would be > an alternative. In fact I am doing something similar currently. It's not > exactly what I am after as I think it looks a little strange having a set of > default buttons on the map already (such as the editing toolbar, hand tool, > zoombox - which are tied to the map) then another set in an external toolbar > (which also have functionality tied to the map). But it seems it might be > the only sensible option at this point. Maybe it would be easier to move > everything to an Ext GWT toolbar so they are all in the same place? > > Thanks, > > Vanessa > > > Date: Wed, 30 Jun 2010 08:36:18 -0400 > > From: Brad King <br...@gm...> > > Subject: Re: [Gwt-openlayers-users] OpenLayers.Control.Button > > [SEC=UNCLASSIFIED] > > To: gwt...@li... > > Message-ID: > > <AAN...@ma...> > > Content-Type: text/plain; charset="iso-8859-1" > > Hello, I was just wondering if this really has to be part of the map panel. > > I've been using Ext GWT for UI widgets, and they have a nice toolbar. You could place it just above the map panel in an overall container panel or layout. > > Brad > > On Wed, Jun 30, 2010 at 4:12 AM, Towers, Vanessa < Van...@ds...> wrote: > > > Hi, > > > > > > I noticed OpenLayers.Control.Button is yet to be supported in the > > > gwt-openlayers project. I'm currently working with the latest snapshot > > > openlayers_gwt-0.5-SNAPSHOT.jar. > > > > > > I really need to be able to put simple buttons in a custom toolbar > > > within the map panel. It's not something I've done in openlayers > > > previously. From what I can see this could be implemented using > > > OpenLayers.Control.Button if it was supported. I was wondering if this > > > was something I could easily implement myself and if so what would be > > > involved if someone could provide some guidance? > > > > > > Cheers, > > > > > > Vanessa > > > > > > IMPORTANT: This email remains the property of the Australian Defence > > > Organisation and is subject to the jurisdiction of section 70 of the > > > CRIMES ACT 1914. If you have received this email in error, you are > > > requested to contact the sender and delete the email. > > > > > > > > > > > > ---------------------------------------------------------------------- > > > -------- This SF.net email is sponsored by Sprint What will you do > > > first with EVO, the first 4G phone? > > > Visit sprint.com/first -- > *http://p.sf.net/sfu/sprint-com-first* <http://p.sf.net/sfu/sprint-com-first> > > > > _______________________________________________ > > > Gwt-openlayers-users mailing list > > > Gwt...@li... > > > > *https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users* <https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users> > > > > > > > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |