public function getStopPointPois($externalCoverageId, $stopPointId, $distance = 400)
    {
        $query = array(
            'api' => 'coverage',
            'parameters' => array(
                'region' => $externalCoverageId,
                'action' => 'places_nearby',
                'path_filter' => 'stop_points/'.$stopPointId,
                'parameters' => array(
                    'type' => array('poi'),
                    'filter' => 'poi_type.id=poi_type:Pointsdevente',
                    'distance' => $distance,
                    'count' => 2,
                ),
            ),
        );

        return $this->navitia_component->call($query);
    }
public function getStopPointPois($externalCoverageId, $stopPointId, $distance = 400)
    {
        $query = array(
            'api' => 'coverage',
            'parameters' => array(
                'region' => $externalCoverageId,
                'action' => 'places_nearby',
                'path_filter' => 'stop_points/'.$stopPointId,
                'parameters' => array(
                    'type' => array('poi'),
                    'filter' => 'poi_type.id=poi_type:Pointsdevente',
                    'distance' => $distance,
                    'count' => 2,
                ),
            ),
        );

        return $this->navitia_component->call($query);
    }
public function getStopPointPois ( $ externalCoverageId , $ stopPointId , $ distance = 400 ) { $ query = array ( 'api' => 'coverage' , 'parameters' => array ( 'region' => $ externalCoverageId , 'action' => 'places_nearby' , 'path_filter' => 'stop_points/' . $ stopPointId , 'parameters' => array ( 'type' => array ( 'poi' ) , 'filter' => 'poi_type.id=poi_type:Pointsdevente' , 'distance' => $ distance , 'count' => 2 , ) , ) , ) ; return $ this -> navitia_component -> call ( $ query ) ; }
Returns Stop Point pois.

@param string $coverageId
@param string $stopPointId

@return pois
Returns Stop Point pois .