Stumbled across this interactive-and-responsive-svg-map-of-US today
Here's the original place where I saw it used:
NAIA Interactive Member Map
Examining the source code led me to the "websitebeaver" page.
I don't have an immediate need, but for sake of discussion (and just to work my brain cause I don't have any Aware work right now), I thought I would think about ways to use this in AIM.
Without much thought, my "brute-force" method would be to write out the data to be shown in each state to a file on the server. Then find a way to include/merge that into the static HTML... but thats just in the 1st 5 mins.
JQuery might be a way to get to the data (actually, JQuery is already being used to index into the source HTML "data-info" tag) in a more "live way".
One could use NodeJS/GO and merge the data live from a SQL table when requested, perhaps.
Your thoughts?
jaymer...
DISCUSSION: Best way to integrate this SVG US Responsive Map
DISCUSSION: Best way to integrate this SVG US Responsive Map
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL