Hello derek Find attached some changes I had posted sometime back to allow for a primary and a secondary filter optimizations suggestions are welcome. From: joram5911 at hotmail.com To: mapstraction at lists.mapstraction.com Subject: Changes to applyFilter function Date: Tue, 8 Jun 2010 20:32:24 +0000 Hello everyone. I have modified the applyFilter function to accommodate sub filters. for example if we were to filter for all houses that are blue and green and also all warehouses irrespective of color now I can use map.addFilter(''Type'', ''eq'', { pFilter: "House", sFilter: [''Color'', ''eq'', ''Blue''] }); map.addFilter(''Type'', ''eq'', { pFilter: "House", sFilter: [''Color'', ''eq'', ''Green''] }); map.addFilter(''Type'', ''eq'', "Warehouse"); map.doFilter(); I would have loved to be able to add multiple arrays of sub-filters for example map.addFilter(''field'', ''operator'', { pFilter: "value", sFilter: [[''field'', ''operator'', ''value''],[''field'', ''operator'', ''value''],[''field'', ''operator'', ''value'']] }); optimizations and suggestions welcome. The diff also contains the addGeoJSON() as submited by Callum Macdonald Thank you. Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. Learn more. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20110414/bde4fa80/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: mxn.core.diff Type: application/octet-stream Size: 6141 bytes Desc: not available URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20110414/bde4fa80/attachment.obj>