<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="font-size:10pt;" color="#366092" face="Arial" size="2">are <font style="font-size: 10pt;" size="2">y<font style="font-size: 10pt;" size="2">ou calling your features from a database? if so, <font style="font-size: 10pt;" size="2">it<font style="font-size: 10pt;" size="2">'d be bett<font style="font-size: 10pt;" size="2">er if <font style="font-size: 10pt;" size="2">you make one table with all your<font style="font-size: 10pt;" size="2"> tables.</font></font></font></font></font></font></font></font><br><font style="font-size:10pt" color="#1F497D" face="Arial" size="2"><br>__________________________________________________________________________________________<br>Piensa en el medio ambie<font style="" face="Arial">nte - mantenlo en la pantalla. NO lo imprimas si NO es necesario.</font></font><font style="font-size:10pt" color="#1F497D" face="Arial" size="2"><br></font><font style="font-size:10pt" color="#1F497D" face="Arial" size="2">Think green - keep it on the screen. Do NOT print if it is NOT necessary.</font><font style="font-size:10pt" color="#1F497D" face="Arial" size="2"><br></font><font style="font-size:10pt" color="#1F497D" face="Arial" size="2"><span id="ecxresult_box" class="ecxshort_text" lang="de"><span class="ecxhps">Denken Sie an</span> <span class="ecxhps">die Umwelt</span></span></font><font style="font-size:10pt" color="#1F497D" face="Arial" size="2"><span id="ecxresult_box" lang="de"><span class="ecxhps"></span> <span class="ecxhps">-</span> <span class="ecxhps">bewahren Sie es</span> <span class="ecxhps">auf dem Bildschirm.</span> <span class="ecxhps">Drucken Sie es NICHT</span><span>, wenn</span> <span class="ecxhps">es NICHT notwendig ist</span><span>.</span></span></font><br><br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Tue, 14 May 2013 03:42:03 -0700<br>> From: shadin__a@hotmail.com<br>> To: openlayers-users@lists.osgeo.org<br>> Subject: [OpenLayers-Users] Multiple FeatureType in WFS Protocol<br>> <br>> I would like to pass multiple featureTypes to WFS protocol in order to<br>> accomplish a search feature in my app. the idea worked just fine with one<br>> featureType, but now I need to add another one to expand my search scope.<br>> Here is what I did:<br>> <br>> var featureTypes = ["Layer_1", "Layer_2"];  <br>> <br>> var wfsProtocol = new OpenLayers.Protocol.WFS.v1_1_0({ <br>>              url: URL,                 <br>>              featureType: featureTypes,<br>>              featureNS: "http://mapmap.org", <br>>              srsName: "EPSG:3857", <br>>              version: "1.1.0", <br>>              extractAttributes: true, <br>>              isBaseLayer: false, <br>>              visibility: true <br>>                });<br>> <br>> <br>> wfsProtocol.read({            <br>>     filter: filter,                      <br>>     callback: processTheQuery, <br>>     scope: [new OpenLayers.Strategy.Fixed({preload: true})],<br>>          })<br>> <br>> <br>> But still didn't work. Any idea?<br>> <br>> <br>> <br>> --<br>> View this message in context: http://osgeo-org.1560.x6.nabble.com/Multiple-FeatureType-in-WFS-Protocol-tp5053116.html<br>> Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.osgeo.org<br>> http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></div>                                     </div></body>
</html>