/[drupal]/contributions/modules/gmap/gmap.module
ViewVC logotype

Diff of /contributions/modules/gmap/gmap.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.100, Wed Mar 11 16:43:02 2009 UTC revision 1.101, Fri Apr 17 18:31:59 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: gmap.module,v 1.99 2009/02/12 23:45:23 bdragon Exp $  // $Id: gmap.module,v 1.100 2009/03/11 16:43:02 bdragon Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 832  function theme_gmap_align($element) { Line 832  function theme_gmap_align($element) {
832   * Gmap element theme hook   * Gmap element theme hook
833   */   */
834  function theme_gmap($element) {  function theme_gmap($element) {
835      // Usability: Prevent js errors on first visit to settings page, etc.
836      // Of course it will still error if the *wrong* key is on file.
837      if (gmap_get_key() == '') {
838        return t('Unable to render map: Google Maps API key is missing.');
839      }
840    
841    // Track the mapids we've used already.    // Track the mapids we've used already.
842    static $mapids = array();    static $mapids = array();
843    

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101

  ViewVC Help
Powered by ViewVC 1.1.2