diff --git a/inc/Spot.php b/inc/Spot.php index 61b195a..540340d 100755 --- a/inc/Spot.php +++ b/inc/Spot.php @@ -744,6 +744,10 @@ class Spot extends Main )); } + 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