Can I make a rule in Openlayers2.13 in which I will have multiple properties and valu

المشرف العام

Administrator
طاقم الإدارة
Can I make a rule in Openlayers2.13 in which I will have multiple properties and values? This is what I have now:

new OpenLayers.Rule({ name: "NORTH", filter: new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.EQUAL_TO, property: "owner", // name of column in table value: "NORTH" }), symbolizer: { pointRadius: "4", fillColor: "#FF0000", strokeOpacity: ".8", strokeWidth: "1" } }) And I need to have something like this:

new OpenLayers.Rule({ name: "NORTH", filter: new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.EQUAL_TO, property: "column_I","column_II" // name of column in table values: ["NORTH","something_else"] }), symbolizer: { pointRadius: "4", fillColor: "#FF0000", strokeOpacity: ".8", strokeWidth: "1" } })

أكثر...
 
أعلى