Ignore:
Timestamp:
Oct 29, 2010, 3:01:40 PM (13 years ago)
Author:
grum
Message:

implement feature:1950

File:
1 edited

Legend:

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

    r7308 r7479  
    2121    protected $css;
    2222    protected $maps=array();
     23    protected $forceDisplay=0;
    2324
    2425    /**
     
    196197
    197198      $this->maps=array();
     199      $this->forceDisplay=0;
    198200
    199201      if($page=='C')
     
    217219              pgmm.mapType, pgmm.mapTypeControl, pgmm.scaleControl, pgmm.streetViewControl,
    218220              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
    220223            FROM ((".$this->tables['category_maps']." pgcm
    221224                  LEFT JOIN ".$this->tables['maps']." pgmm ON pgcm.mapId = pgmm.id)
     
    278281              $this->maps[]=$row;
    279282              $displayType[$row['displayType']]=false;
     283              if($row['forceDisplay']=='y' and ($row['kmlFileUrl']!='' or $row['kmlFileId']!=0)) $this->forceDisplay++;
    280284            }
    281285          }
Note: See TracChangeset for help on using the changeset viewer.