diff --git a/lib/Spot.php b/lib/Spot.php index c59835d..11f68a8 100755 --- a/lib/Spot.php +++ b/lib/Spot.php @@ -774,6 +774,10 @@ class Spot extends Main return self::getJsonResult($bSuccess, $sDesc, $asResult); } + public function buildGeoJSON($sCodeName) { + return Converter::convertToGeoJson($sCodeName); + } + public static function decToDms($dValue, $sType) { if($sType=='lat') $sDirection = ($dValue >= 0)?'N':'S'; //Latitude else $sDirection = ($dValue >= 0)?'E':'W'; //Longitude