$clid = array_key_exists('clid', $_REQUEST) ? $_REQUEST['clid'] : 0; $mapType = array_key_exists('maptype', $_REQUEST) ? $_REQUEST['maptype'] : 0; $taxonAuthorityId = array_key_exists('taxonfilter', $_REQUEST) ? $_REQUEST['taxonfilter'] : 1; $stArrJson = array_key_exists("starr", $_REQUEST) ? $_REQUEST["starr"] : ''; $catId = array_key_exists("catid", $_REQUEST) ? $_REQUEST["catid"] : 0; if (!$catId && isset($DEFAULTCATID) && $DEFAULTCATID) { $catId = $DEFAULTCATID; } $tabIndex = array_key_exists("tabindex", $_REQUEST) ? $_REQUEST["tabindex"] : 1; $mapManager = new MapInterfaceManager(); $queryShape = ''; $showTaxaBut = 1; $collList = $mapManager->getFullCollectionList($catId); $specArr = isset($collList['spec']) ? $collList['spec'] : null; $obsArr = isset($collList['obs']) ? $collList['obs'] : null; $mapManager->setFieldArr(0); $mapWhere = ''; $genObs = $mapManager->getGenObsInfo(); $tArr = array(); $coordExist = false; $spatial = false; $iconKeys = array(); $coordArr = array(); $stArr = array(); $previousCriteria = array(); $groupCnt = 1; $grpCntArr = array(); $jsonStArr = ''; $gridSize = 60; $minClusterSize = 10; $clusterOff = "n";