add pss #62
This commit is contained in:
@@ -25,12 +25,12 @@ class SpsApi extends Api {
|
||||
* @var string
|
||||
*/
|
||||
public static $routeParameterDomain = "/domain/:domain";
|
||||
|
||||
/**
|
||||
|
||||
/**
|
||||
* Route string for the Longitude paramter
|
||||
* @var string
|
||||
*/
|
||||
public static $routeParameterLongitude= "/longitude/:longitude";
|
||||
public static $routeParameterLongitude = "/longitude/:longitude";
|
||||
|
||||
/**
|
||||
* Route string for the latitude paramter
|
||||
@@ -154,7 +154,10 @@ class SpsApi extends Api {
|
||||
|
||||
$queryArgs[SpsApi::$keyPoly] = $this->createPolygon($latitude, $longitude, $this->range);
|
||||
$result = $this->sqlManager->sendSpsCoordinateQuery($queryArgs);
|
||||
return \utiliy\XmlManager::arrayToSpsXml($result);
|
||||
if ($result) {
|
||||
return \utiliy\XmlManager::arrayToSpsXml($result);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user