Title: [Plugin: WP Geo] Map refresh when using tabs
Last modified: August 20, 2016

---

# [Plugin: WP Geo] Map refresh when using tabs

 *  [jimjamjim](https://wordpress.org/support/users/jimjamjim/)
 * (@jimjamjim)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-geo-map-refresh-when-using-tabs/)
 * I’m displaying a map within some Jquery tabs. The map isn’t centred when the 
   tab is clicked because its had the display property set to none. I’ve been reading
   about needing to refresh the map in order to make sure that the map is centered–
   and needing to call this function: checkResize()
 * Problem is I don’t know how to select or target the map once its been loaded.
 * I’ve tried using g_map.checkResize() but I get a Can’t find variable g_map error.
 * Any help would be much appreciated
 * [http://wordpress.org/extend/plugins/wp-geo/](http://wordpress.org/extend/plugins/wp-geo/)

The topic ‘[Plugin: WP Geo] Map refresh when using tabs’ is closed to new replies.

 * ![](https://ps.w.org/wp-geo/assets/icon-256x256.png?rev=993625)
 * [WP Geo](https://wordpress.org/plugins/wp-geo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-geo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-geo/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-geo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-geo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-geo/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jimjamjim](https://wordpress.org/support/users/jimjamjim/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-geo-map-refresh-when-using-tabs/)
 * Status: not resolved