From: Edwin C. <com...@gm...> - 2010-06-07 20:29:00
|
Hi Andrew, That would be easy to add as a method to the Map, and it seems to make sense. Controls are stored in an array on the map. We need to get the JSObjects, narrow them to controls and return them in a Collection. I guess there is no method for that in OpenLayers because accessing the controls array is so easy in Javascript. Greetings, Edwin On 7 June 2010 09:01, Andrew Hughes <ahh...@gm...> wrote: > Hi Guys, > I need to be able to manipulate all the controls on a map, but I can't do > anything like... map.getControls(); any ideas? > Cheers > --AH > p.s. I really need to iterate over all controls and remove the ones I don't > want. > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Gwt-openlayers-users mailing list > Gwt...@li... > https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users > > |