Reply To: Mashup map displays every POI from a single map

Home Forums MapPress Support Mashup map displays every POI from a single map Reply To: Mashup map displays every POI from a single map

#13736
Chris
Keymaster

Hi,

The license prohibits reselling the code but if you’d like to share add-on code with each other feel free – please email each other directly rather than posting here.

I have a lot on my development list already so I don’t yet have plans to limit searching to only the first POI from a map (other than the filter I mentioned).

I don’t know if it will work for you, but one workaround is to just use two different posts:

Post A – the main post. Create a map with a single main searchable location here.
Post B – a second post. Create the full map with all locations here.

In Post A, add a shortcode to display the map from Post B using [mappress mapid=123]. When users view Post A, they will then see the full map. But for searches, only the single location that is actually attached to Post A will appear.

Post B can be excluded from queries by assigning it to a custom post type, different category, etc.