org.onebusaway.webapp.gwt.oba_application.search
Class YelpLocalSearchProvider

java.lang.Object
  extended by org.onebusaway.webapp.gwt.oba_application.search.YelpLocalSearchProvider
All Implemented Interfaces:
LocalSearchProvider

public class YelpLocalSearchProvider
extends Object
implements LocalSearchProvider


Constructor Summary
YelpLocalSearchProvider(String apiKey)
           
 
Method Summary
 void search(CoordinateBounds bounds, String query, String category, LocalSearchCallback callback)
           
 void search(com.google.gwt.maps.client.geom.LatLng center, String query, String category, LocalSearchCallback callback)
           
 void searchByRadius(com.google.gwt.maps.client.geom.LatLng center, double radius, String query, String category, LocalSearchCallback callback)
           
 void setMaxResultCount(int maxResultCount)
           
 void setTimeout(int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YelpLocalSearchProvider

public YelpLocalSearchProvider(String apiKey)
Method Detail

setMaxResultCount

public void setMaxResultCount(int maxResultCount)

setTimeout

public void setTimeout(int timeout)

search

public void search(CoordinateBounds bounds,
                   String query,
                   String category,
                   LocalSearchCallback callback)
Specified by:
search in interface LocalSearchProvider

search

public void search(com.google.gwt.maps.client.geom.LatLng center,
                   String query,
                   String category,
                   LocalSearchCallback callback)

searchByRadius

public void searchByRadius(com.google.gwt.maps.client.geom.LatLng center,
                           double radius,
                           String query,
                           String category,
                           LocalSearchCallback callback)


Copyright © 2011 OneBusAway. All Rights Reserved.