Expose google.maps.Map instances to global window
-
Hi,
Firstly let me say that your plugin is already “mature” at this early stage. Thanks for a great tool.
I’d love to be able to center the map on resize but without a reference to the corresponding google.maps.Map object, it doesn’t seem possible. If we could get a reference to the google.maps.Map instance for each map the plugin creates, developers could customise away to our hearts content. Maybe you could store references to each google.maps.Map object in your global window.intergeo_maps object? I’ve hacked render.js to prove the concept and I can now center the map on resize.
Is this something you plan on introducing? It would be extremely helpful.
Thanks again for a great plugin.
Steph.
- The topic ‘Expose google.maps.Map instances to global window’ is closed to new replies.