Changeset 1378 for g-map/files/lib/page/MapAjaxPage.class.php
- Timestamp:
- 04/03/11 19:14:28 (2 years ago)
- Files:
-
- 1 modified
-
g-map/files/lib/page/MapAjaxPage.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
g-map/files/lib/page/MapAjaxPage.class.php
r1374 r1378 54 54 $this->lat = isset($_GET['lat']) ? floatval($_GET['lat']) : 0; 55 55 $this->lon = isset($_GET['lon']) ? floatval($_GET['lon']) : 0; 56 57 // pick action 58 $this->idx = isset($_GET['idx']) ? intval($_GET['idx']) : 0; 56 59 } 57 60 … … 90 93 $cluster = new GmapCluster($this->distance, $this->zoom); 91 94 if($this->action == 'pick') { 92 $ids = $cluster->getIDs($markers, $this-> lat, $this->lon);95 $ids = $cluster->getIDs($markers, $this->idx); 93 96 if($ids === null) { 94 97 $this->datapoints = array();
