I have a working JS Fiddle here:
http://jsfiddle.net/geocodezip/50g6vgns/1/
It is not displaying correctly when I paste all the code onto the text area of a WordPress page.
For the external resource to Google's map libary I added this to functions.php
add_action('wp_head','my_addition_js');
function my_addition_js() {
echo '<script src="https://maps.googleapis.com/maps/api/js" type="text/javascript"/>';
}
Pasted the html, css, and javascript into the text/body of the WordPress page, in various orders with various taggings, different themes, which I won't bore you with, because I'm pretty convinced I'm just putting the code in the wrong place. Yes using text not visual.
Where would I paste the code in the fiddle, to make it work in WordPress?
Does what I added to functions.php look ok? Does it matter whether the javascript goes first or last or whether I put the styles in styles.css?
At most I was able to see the template sidebar but no map, but I've switched things around and now not even seeing the template.
Thank you for all help.