Geocluster Finder
GeoclusterFinder
GeoclusterFinder Objects
class GeoclusterFinder()This class allow make get request to user resource into Opengate North API.
constructor
function constructor()Constructor
Arguments:
ReferenceInternalOpenGateAPI - to the API object.
findAll
function findAll() -> 'Promise'Find all available geocluster. This execute a GET http method
Returns:
Promise
findById
function findById(id: string) -> 'Promise'Find a specify geocluster by an identifier. This execute a GET http method
Arguments:
idstring - Identifier of the geocluster.
Returns:
Promise
findFeatures
function findFeatures(id: string,coordinates: Object) -> 'Promise'Find features inside the coordinates. This execute a GET http method
Arguments:
idstring - Identifier of the geocluster.coordinatesObject - square defined by the coordinates and the zoom used to find the inside features .
Returns:
Promise