On Tue, Nov 6, 2012 at 1:30 AM, Michael Bedward <[email protected]> wrote: > Hi Andrea, > > Just following up on this comment... > > On 6 November 2012 02:11, astewart <[email protected]> wrote: >> >> However, I did track down the 'offending' documentation that should be >> revised to reflect the use of the setQuery() method. The 'Things to Try' >> section of the Query tutorial contains a method called *centerFeatures()*. >> That method contains the misleading code. > > In the thread the use of FeatureLayer.query was discussed as an > alternative to getting a FeatureCollection and an iterator. However > the Query tutorial doesn't use layers (no map is displayed) so can you > advise on how the tutorial code should be modified ?
I don't see anything wrong in the tutorial, nor any suggestion that collections should be fed into a layer, I guess that was just the extrapolation of the user. If anything, if there is documentation about the GUI components it should advise against feeding a non in memory feature collection into the map layers Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ GeoTools-GT2-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
