From: Benoît T. <thi...@ar...> - 2009-01-27 07:08:45
|
Good question :-) I just have two features sources that I wanted to show/hide at the same time. They represent the vertical and horizontal lines of a grid and I thought it would be easier to put them in the same layer, so I just had to show/hide one layer. They realy represent different data and I need to fetch them separately. I finally created two layers I put in a list and I iterate over the list to show/hide. I was just wondering if how it works as the layer constructor can take a feature collection as argument. Le 27 janv. 09 à 00:26, Michael Bedward a écrit : > Hi Benoît > >> I would like to create a MapLayer containing two FeatureSources. > > Why ? :-) > > Michael > Benoît Thiébault Société Artenum 24 rue Louis Blanc, 75010 Paris tel: +33 (0)1 46 94 67 54 Artenum - Science & Groupware - http://www.artenum.com |