Changeset 7308 for extensions/GMaps/gmaps_root.class.inc.php
- Timestamp:
- Oct 20, 2010, 10:49:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GMaps/gmaps_root.class.inc.php
r7177 r7308 18 18 class GMaps_root extends CommonPlugin 19 19 { 20 const KML_DIRECTORY='/local/plugins/GMaps/kml/'; 20 21 protected $css; 21 22 protected $maps=array(); … … 121 122 //global $user; 122 123 $this->config=array( 124 'popupAutomaticSize' => 0.8 123 125 ); 124 126 } … … 214 216 pgmm.width, pgmm.height, pgmm.zoomLevel, 215 217 pgmm.mapType, pgmm.mapTypeControl, pgmm.scaleControl, pgmm.streetViewControl, 216 pgmm.navigationControl, pgmm.style, 218 pgmm.navigationControl, pgmm.style, pgmm.zoomLevelMaxActivated, 217 219 IF(pgcm.categoryId=0, 0, pct.global_rank) AS priorityRank 218 220 FROM ((".$this->tables['category_maps']." pgcm … … 245 247 { 246 248 // if an kml file id is given, apply the url of the file (needs to give the complete URI for google) 247 if($row['kmlFileId']>0 and $row['kmlFileUrlId']!='') $row['kmlFileUrl']=dirname($_SERVER['SCRIPT_URI']). '/plugins/GMaps/kml/'.$row['kmlFileUrlId'];249 if($row['kmlFileId']>0 and $row['kmlFileUrlId']!='') $row['kmlFileUrl']=dirname($_SERVER['SCRIPT_URI']).self::KML_DIRECTORY.$row['kmlFileUrlId']; 248 250 249 251 if($row['displayType']!='MP')
Note: See TracChangeset
for help on using the changeset viewer.