[Resolved] [Plugin: Comprehensive Google Map Plugin] Utilizing the google maps v3 maps api with plugin
What I am trying to do may potentially be a feature request.
I am trying to reference the google maps v3 api from a map that is rendered from the plugins shortcode. I looked in the DOM using firebug but didn’t actually see the “map” object that I was expecting.
The site I am building is following a responsive webdesign pattern.
My map is set to 100% width (from the shortcode generator). When dynamically resizing my browser to test my responsive layout. The map coordinates get a little bit mucked up.
This is a pretty easy fix in the v3 of the api
var center = map.get_center(); google.maps.event.trigger(map, 'resize'); map.set_center(center);
But it appears that the map object isn’t defined
Thanks in advance. Great plugin btw.
- The topic ‘[Resolved] [Plugin: Comprehensive Google Map Plugin] Utilizing the google maps v3 maps api with plugin’ is closed to new replies.