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. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20100608/30227dd8/attachment-0001.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/20100608/30227dd8/attachment-0001.obj>