Title: Google Map Display
Last modified: August 21, 2016

---

# Google Map Display

 *  [popmon](https://wordpress.org/support/users/popmon/)
 * (@popmon)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/google-map-display/)
 * HI
 * Just wondering how I can fix the Google map display. Currently the map displays
   but only in a tiny window.
 * I see in lddbd_display.php you have the map set as 500×350. I’d say it’s currently
   displaying about 20×100. Which you can see here mapto.com.au/operators/
 * Any ideas as to how I can fix it?
 * Great plugin by the way :0)
 * [http://wordpress.org/plugins/ldd-business-directory/](http://wordpress.org/plugins/ldd-business-directory/)

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

 *  Plugin Author [LDDConsulting](https://wordpress.org/support/users/suffrage/)
 * (@suffrage)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/google-map-display/#post-4381996)
 * Unfortunately we’re unable to recreate this problem or diagnose why it’s not 
   displaying properly.
 * It may be a theme issue. What theme are you using? Also, do you have a link to
   your installation of the business directory so we may take a closer look and 
   see what may be happening?
 *  Thread Starter [popmon](https://wordpress.org/support/users/popmon/)
 * (@popmon)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/google-map-display/#post-4382007)
 * Thanks for getting back to me.
 * Looks like it is a theme issue. I fiddle about with the layout in the lddbd_display.
   php
 * managed to get the map to display correctly but for some reason the “view bigger”
   link gets squashed to the point where you can have a word more than three character
   long. I don’t seem to be able to fix this.
 * Theme is called: Vantage Premium
 * You can view the install here: [http://mapto.com.au/operators/](http://mapto.com.au/operators/)
 *  ` $map_query = $options[‘google_map’];
    if($map_query==’Yes’) { $map=”
 * <div style=’width:50%; background-color:#0CF; padding:5px’><a target=’_blank’
   href=’[http://maps.google.com/maps?q=](http://maps.google.com/maps?q=){$address}&
   ie=UTF8&hq=&hnear={$address}&t=m&z=13&source=embed’ style=’color:#000000;text-
   align:left;text-size-adjust: auto’>+Map</a>
    </div> <br /> <br /> <br /> <div
   id=’lddbd_map’><iframe width=’100%’ height=’500′ frameborder=’0′ scrolling=’no’
   marginheight=’0′ marginwidth=’0′ src=’[http://maps.google.com/maps?q=](http://maps.google.com/maps?q=){
   $address}&ie=UTF8&hq=&hnear={$address}&t=m&z=14&iwloc=A&output=embed&typecontrol
   =0′></iframe> <br /> </div><br />”; } else { $map = “”; } }`
 *  [Robin Roelofsen](https://wordpress.org/support/users/robinroelofsen/)
 * (@robinroelofsen)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/google-map-display/#post-4382017)
 * I had a problem like that recently. My buttons did not show correctly and the
   map was almost a sliver.
 * I discovered – after a frustrating couple of hours – that Yoast’s Google Analytics
   plugin caused this issue. LDD and the Analytics plugin do not play well.
 * Turned off the plugin and added the code to the template. No problems anymore.

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

The topic ‘Google Map Display’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ldd-business-directory.svg)
 * [LDD Business Directory](https://wordpress.org/plugins/ldd-business-directory/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ldd-business-directory/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ldd-business-directory/)
 * [Active Topics](https://wordpress.org/support/plugin/ldd-business-directory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ldd-business-directory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ldd-business-directory/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Robin Roelofsen](https://wordpress.org/support/users/robinroelofsen/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/google-map-display/#post-4382017)
 * Status: not resolved