Changeset 7479 for extensions/GMaps/gmaps_root.class.inc.php
- Timestamp:
- Oct 29, 2010, 3:01:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GMaps/gmaps_root.class.inc.php
r7308 r7479 21 21 protected $css; 22 22 protected $maps=array(); 23 protected $forceDisplay=0; 23 24 24 25 /** … … 196 197 197 198 $this->maps=array(); 199 $this->forceDisplay=0; 198 200 199 201 if($page=='C') … … 217 219 pgmm.mapType, pgmm.mapTypeControl, pgmm.scaleControl, pgmm.streetViewControl, 218 220 pgmm.navigationControl, pgmm.style, pgmm.zoomLevelMaxActivated, 219 IF(pgcm.categoryId=0, 0, pct.global_rank) AS priorityRank 221 IF(pgcm.categoryId=0, 0, pct.global_rank) AS priorityRank, 222 pgcm.forceDisplay 220 223 FROM ((".$this->tables['category_maps']." pgcm 221 224 LEFT JOIN ".$this->tables['maps']." pgmm ON pgcm.mapId = pgmm.id) … … 278 281 $this->maps[]=$row; 279 282 $displayType[$row['displayType']]=false; 283 if($row['forceDisplay']=='y' and ($row['kmlFileUrl']!='' or $row['kmlFileId']!=0)) $this->forceDisplay++; 280 284 } 281 285 }
Note: See TracChangeset
for help on using the changeset viewer.