Pick project from globe

This commit is contained in:
2026-05-13 23:28:36 +02:00
parent c3835f45c5
commit 49f37465bd
9 changed files with 151 additions and 78 deletions

View File

@@ -173,12 +173,13 @@ class Spot extends Main
return parent::getMainPage(
array(
'projects' => $this->oProject->getProjects(),
'user' => $this->oUser->getUserInfo(),
'consts' => array(
'projects' => $this->oProject->getProjects(),
'user' => $this->oUser->getUserInfo(),
'consts' => array(
'modes' => Project::MODES,
'clearances' => User::CLEARANCES,
'default_timezone' => Settings::TIMEZONE,
'default_maps' => $this->oMap->getProjectMaps(-1),
'chunk_size' => self::FEED_CHUNK_SIZE,
'hash_sep' => '-',
'title' => 'Spotty',
@@ -823,7 +824,7 @@ class Spot extends Main
}
public function buildGeoJSON($sCodeName) {
return Converter::convertToGeoJson($sCodeName);
return Converter::convertToGeoJson($sCodeName)['logs'];
}
public static function decToDms($dValue, $sType) {