Title: [Plugin: Basic Google Maps Placemarks] Just added full screen mode
Last modified: August 20, 2016

---

# [Plugin: Basic Google Maps Placemarks] Just added full screen mode

 *  [GPStracks.tv](https://wordpress.org/support/users/gpstrackstv/)
 * (@gpstrackstv)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-just-added-full-screen-mode/)
 * Hi Iandunn,
 * Congratualations for the excellent work!
 * I just added a piece of code to the plugin in order to be able to make it full
   screen as you can check at [GPStracks.tv](http://GPStracks.tv)
 * In case you are interested you can find the modified functions.js file at [http://dl.dropbox.com/u/92513888/functions.js](http://dl.dropbox.com/u/92513888/functions.js)
 * The edits are commented with the “GPStracks.tv” text for easier identification.
   The code is adapted from [WP GPX Maps](http://wordpress.org/extend/plugins/wp-gpx-maps/)
   plugin, so a couple of images are used from it, in any case it is easy to replace
   those by your own. What is pending is to include tranlated text for the Maximize
   and Minimize buttons.
 * Hope you consider including this functionality in your new release.
 * Regards,
    Jorge
 * [http://wordpress.org/extend/plugins/basic-google-maps-placemarks/](http://wordpress.org/extend/plugins/basic-google-maps-placemarks/)

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

 *  Plugin Author [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-just-added-full-screen-mode/#post-3012291)
 * That’s pretty cool, thanks for sharing that 🙂
 * I’m personally a fan of plugins that do one thing really well, instead of getting
   bloated by trying to do everything, so I try to only include features that most
   people will use. I haven’t heard anyone asking about full-screen support, so 
   it’s not a likely candidate for being included in future releases.
 * At the same time, though, I think it’s awesome when people customize and extend
   the plugin, and share that code with others. Since you posted the code here, 
   anyone who wants to can copy it and set it up on their site too.
 * One thing you might want to consider doing is putting your custom code in a separate
   JavaScript file in [a functionality plugin](http://www.doitwithwp.com/create-functions-plugin/).
   That way you’ll still be able to upgrade to future versions of the plugin without
   overwriting your custom code.
 * I think you could extend the bgmp object from another file just by doing something
   like,
 *     ```
       bgmp.addFullScreen = function()
       {
           // ...
       }
       ```
   
 * You’d just need to make sure that you wait until after bgmp.init() fires.
 * You might need a new hook inside buildMap() in order to call the function at 
   the right time, but you might be able to do it from a separate file after the
   map loads.
 * In version 1.9 there’ll be a bgmp.map property, so that you can access it directly.
 * If you attempt that and end up needing any hooks inside the core functions.js
   file, let me know and I’ll add them to the next release.
 *  [theshae](https://wordpress.org/support/users/theshae/)
 * (@theshae)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-just-added-full-screen-mode/#post-3012374)
 * What can I change to have the map maximized by default?

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

The topic ‘[Plugin: Basic Google Maps Placemarks] Just added full screen mode’ is
closed to new replies.

 * ![](https://ps.w.org/basic-google-maps-placemarks/assets/icon-128x128.png?rev
   =1152531)
 * [Basic Google Maps Placemarks](https://wordpress.org/plugins/basic-google-maps-placemarks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/basic-google-maps-placemarks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/basic-google-maps-placemarks/)
 * [Active Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/basic-google-maps-placemarks/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [theshae](https://wordpress.org/support/users/theshae/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-basic-google-maps-placemarks-just-added-full-screen-mode/#post-3012374)
 * Status: not a support question