Markers as session variables?
-
Hi
Firstly thanks for your plugin. It’s excellent. I have a slight issue I’m hoping you might advise onI’m using an API to pull in data which I’d like to include on a map. The data includes easting and northings which I’ve converted into OS grid refs. I’ve written a basic plugin to call the API, format the data, filter on eastingscand northings to limit data to a specific area and then output as html via a short code function
I’d now like to use those grid refs to put markers on the map.
I could write the markers to a text file and then link to the text file in the osmap ahortcode but wondered if it would be possible to write the same data to a session variable then reference that in the short code instead? Or any other suggestion of how I might interface with the API data? Thanks again for the plugin though
- The topic ‘Markers as session variables?’ is closed to new replies.