Package com.aetrion.flickr.places

Examples of com.aetrion.flickr.places.PlacesList


        && 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());
        for (int i = 0; i < placesList.size(); i++) {
          Place place = (Place) placesList.get(i);
          String placeID = place.getPlaceId();
          //System.out.println("Place ID: " + placeID);

          sp.setPlaceId(placeID);
          sp.setWoeId(place.getWoeId());
View Full Code Here

TOP

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

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.