Ignore:
Timestamp:
Oct 13, 2010, 10:08:41 PM (13 years ago)
Author:
grum
Message:

Fix bugs on install process ; add street view control management

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GMaps/gmaps_root.class.inc.php

    r7139 r7177  
    1414  --------------------------------------------------------------------------- */
    1515  include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php');
     16  include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCCss.class.inc.php');
    1617
    1718  class GMaps_root extends CommonPlugin
    1819  {
    1920    protected $css;
     21    protected $maps=array();
    2022
    2123    /**
     
    6466        GPCCore::loadConfig('amd', $amdConfig);
    6567
    66         return($amdConfig['amd_InterfaceMode']);
    67       }
     68        if($amdConfig['newInstall']=='n') return($amdConfig['amd_InterfaceMode']);
     69      }
     70
     71      return('none');
    6872    }
    6973
     
    188192    {
    189193      global $template ;
     194
     195      $this->maps=array();
    190196
    191197      if($page=='C')
     
    207213              pgmm.displayType, pgmm.sizeMode,
    208214              pgmm.width, pgmm.height, pgmm.zoomLevel,
    209               pgmm.mapType, pgmm.mapTypeControl, pgmm.scaleControl,
     215              pgmm.mapType, pgmm.mapTypeControl, pgmm.scaleControl, pgmm.streetViewControl,
    210216              pgmm.navigationControl, pgmm.style,
    211217              IF(pgcm.categoryId=0, 0, pct.global_rank) AS priorityRank
Note: See TracChangeset for help on using the changeset viewer.