Package com.aetrion.flickr.places

Examples of com.aetrion.flickr.places.PlacesInterface


        return photosetsInterface;
    }

    public PlacesInterface getPlacesInterface() {
        if (placesInterface == null) {
            placesInterface = new PlacesInterface(apiKey, sharedSecret, transport);
        }
        return placesInterface;
    }
View Full Code Here


      if (isGeoSearch && sp.getLongitude() != null && sp.getLatitude() != null
        && usePlacesForGeoSearch
      ){
        //TODO TEST DISABLE FIXME
        //Search for places at a location
        PlacesInterface p = f.getPlacesInterface();
        PlacesList placesList = null;
//        placesList = p.findByLatLon(48.7771056f,   9.1807688f, 14);
//        placesList = p.findByLatLon(40.689, -74.044, 12); //liberty islang
        placesList = p.findByLatLon(Double.parseDouble(sp.getLatitude()), Double.parseDouble(sp.getLongitude()), sp.getAccuracy());

        sp.setLatitude(null);
        sp.setLongitude(null);
       
        System.out.println("Places found: " + placesList.size());
View Full Code Here

TOP

Related Classes of com.aetrion.flickr.places.PlacesInterface

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.