I have a site that uses multiple locations shared across several different maps; Each location must be listed in a specific order.
So what I've done is to make a single locations section that contains all the info and lat/lon data for each location as an entry and then for each of the sections where the locations are to be listed, i've used a suggest field to grab the locations limit one per entry. This lets me create the list in the order needed.
I'm having a problem creating the map from only the tour locations in the suggest field.
This shows all the locations:
{{ location:map_listing starting_zoom="13" from="locations"
locate_with="where"
clusters="false"
}}
<h3>{{ title }}</h3>
{{ /location:map_listing }}
{{ location:start_maps}}
How would I limit this to just the locations that are associated to the segment of the tour entries. Hope this makes sense.
title: Tour Location
fields:
map_number:
display: Map Number
type: text
where:
display: Map Location
type: location
allow_geolocation: true
location_desc:
display: Location Description
type: text
title: Tour Entry
fields:
content:
hide: true
tour_location:
display: Location
type: suggest
create: true
max_items: 1
content:
folder: locations
label: title
value: url