Show
Ignore:
Timestamp:
04/03/11 19:14:28 (2 years ago)
Author:
Torben Brodt
Message:

drop some deprecated packages

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • g-map/files/lib/page/MapAjaxPage.class.php

    r1374 r1378  
    5454                $this->lat = isset($_GET['lat']) ? floatval($_GET['lat']) : 0; 
    5555                $this->lon = isset($_GET['lon']) ? floatval($_GET['lon']) : 0; 
     56                 
     57                // pick action 
     58                $this->idx = isset($_GET['idx']) ? intval($_GET['idx']) : 0; 
    5659        } 
    5760 
     
    9093                $cluster = new GmapCluster($this->distance, $this->zoom); 
    9194                if($this->action == 'pick') { 
    92                         $ids = $cluster->getIDs($markers, $this->lat, $this->lon); 
     95                        $ids = $cluster->getIDs($markers, $this->idx); 
    9396                        if($ids === null) { 
    9497                                $this->datapoints = array();