I want to have be able to show the map & timeline for a subset of my collection as well as my full collection. The subset will be based on location (for example, I want to be able to show the map for "New York" and have a separate map for all items including New York.) I should be able to do this by editing the map-js.html like so:
`{%- assign items = items | where_exp: 'item', 'item.objectid != nil' | where_exp: 'item','item.latitude' -%}
{%- capture place -%}
{{ page.location }}
{%- endcapture -%}
{%- assign items = items[place] -%}`
But this doesn't seem to filter as expected (my New York map shows no items). Is there a recommended way to do such a thing?