Title: Toggle fullscreen view / re-center KML
Last modified: January 14, 2018

---

# Toggle fullscreen view / re-center KML

 *  [kato68](https://wordpress.org/support/users/kato68/)
 * (@kato68)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/toggle-fullscreen-view/)
 * 1.
    Is there an option to display an icon to toggle fullscreen view in the embedded
   map? Haven´t found an attribute in the reference to do so but maybe it´s off 
   by default and not mentioned. 2. Is there a way to re-center/re-zoom the KML 
   via a buttom e.g. “Home” so after someone played around in the map can set by
   single click the view as when the Map loaded? BTW. still the best plugin if you-
   like me- just want to display kml files 🙂
    -  This topic was modified 8 years, 4 months ago by [kato68](https://wordpress.org/support/users/kato68/).
    -  This topic was modified 8 years, 4 months ago by [kato68](https://wordpress.org/support/users/kato68/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/toggle-fullscreen-view/#post-9864409)
 * G’day kato68,
 * I’ve just released v1.13.0 which updates the Google Maps API to v3.30, so you
   should now get the full-screen view button on your maps.
 * For your second question, if you’re handy with JavaScript you can ask the map
   to redraw when a visitor clicks on a button on your page. See “How can I get 
   access to the map object” in the FAQ:
 * [https://wordpress.org/plugins/wp-flexible-map/#faq](https://wordpress.org/plugins/wp-flexible-map/#faq)
 * You can call the `redraw()` method on the flxmap object to redraw the map.
 * cheers,
    Ross
 *  Thread Starter [kato68](https://wordpress.org/support/users/kato68/)
 * (@kato68)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/toggle-fullscreen-view/#post-9866097)
 * Thanks Ross for your quick respone and update.
    Unfortunately I´m not handy with
   JavaScript -found some snippets but do not know how to use them. Could this Re-
   center feature and option for further updates? Or can someone help me with this
   javaScript? Thanks Tobias
 *  Thread Starter [kato68](https://wordpress.org/support/users/kato68/)
 * (@kato68)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/toggle-fullscreen-view/#post-9904229)
 * Hi Ross,
    any chance to get some help on that or realsitic plans to get this 
   redraw feature in an update pf the plugin? Thanks Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Toggle fullscreen view / re-center KML’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [kato68](https://wordpress.org/support/users/kato68/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/toggle-fullscreen-view/#post-9904229)
 * Status: not resolved