I am having a really tough time working out how to to view my google map when clicking a link to open it
currently when clicking an link I get this result
as you can see the map only loads a tiny bit in the corner
This is the html
<a href="#map-canvas" id="inline" class="fancybox" id="inline">
<img id="map-image" alt="Tea Map" src="wp-content/themes/Tea-interactive/assets/images/map.png" />
</a>
and here is my fancybox code
$("a#inline").fancybox({
'hideOnContentClick': false,
'afterShow': function(){
google.maps.event.trigger(map, "resize");
}
});