In the body of the post I’m using
<body> <body onload="initialize()"> <div id="map_canvas" style="width:400px; height:500px"></div> </body>
to call on the JS and display a map in the post. The only problem with this is that I can only display one map with one location.
I have two separate posts that I would like to use two separate maps for… one map centered on LA and the other centered on NYC
How can I make a variable in the header so that I can call on the LA map for one post, and the NYC map for another post?
Please help! I have very limited knowledge of WP