Map with Sub-set of Existing Markers
Posted: 17 Aug 2022, 21:49
After setting up and automated system to add markers, I have a common map that shows all my article locations. Which is great! One part done, but now I need to have a map in each article that shows just the article's own marker.
So, without creating a new map and marker exclusive to each article (which would be quite the mess), is there a good way in the shortcode to show a specific or set of markers on a single map set for this purpose?
Perhaps to keep things clean, it would be possible to create but not store a map on page load (similar to a Google map), and add the existing marker to the map. Does Phoca have a way to create a map in an html page, separate from the backend? Maybe I am thinking about this wrong, and I need to just set up an OpenStreet map and try to add the marker to it?
Just brainstorming on how to get started on this task, so insight on the inner workings would be welcome.
Thank you!
So, without creating a new map and marker exclusive to each article (which would be quite the mess), is there a good way in the shortcode to show a specific or set of markers on a single map set for this purpose?
Perhaps to keep things clean, it would be possible to create but not store a map on page load (similar to a Google map), and add the existing marker to the map. Does Phoca have a way to create a map in an html page, separate from the backend? Maybe I am thinking about this wrong, and I need to just set up an OpenStreet map and try to add the marker to it?
Just brainstorming on how to get started on this task, so insight on the inner workings would be welcome.
Thank you!