public Places getPlacesForBoundingBox ( String boundingBox , JinxConstants . PlaceTypeId placeTypeId ) throws JinxException { JinxUtils . validateParams ( boundingBox , placeTypeId ) ; Map < String , String > params = new TreeMap <> ( ) ; params . put ( "method" , "flickr.places.placesForBoundingBox" ) ; params . put ( "bbox" , boundingBox ) ; params . put ( "place_type_id" , placeTypeId . getTypeId ( ) . toString ( ) ) ; return jinx . flickrGet ( params , Places . class , false ) ; }
Return all the locations of a matching place type for a bounding box .