« Insert module and absolute vs relative paths | Main | Drupal permissions »

June 17, 2010

Multiple GMap sizes in Views

The size of the GMap window can be set in several ways. The first is at admin/settings/gmap under Default Width and Height.

When you create a View which displays a GMap these defaults are inherited. This post explains how to override the defaults. Just paste the mentioned code into the Style Options (click the little wheel image) when you've set the Style to Gmap . Note, you can click override dafault to keep the other Displays at the default setting.

Note: see my comment with modified code.

Posted by kkwaiser at June 17, 2010 10:15 AM

Comments

Login to leave a comment. Create a new account.