org.onebusaway.webapp.gwt.common.control
Class PlaceSearch

java.lang.Object
  extended by org.onebusaway.webapp.gwt.common.control.PlaceSearch

public class PlaceSearch
extends Object


Constructor Summary
PlaceSearch()
           
 
Method Summary
static List<Place> getSeachCompleteEventAsPlaces(com.google.gwt.search.client.SearchCompleteHandler.SearchCompleteEvent event, List<Place> places)
           
static List<Place> mergeNearbyEntries(List<Place> places, double mergeDistance)
           
 void query(String query, PlaceSearchListener listener)
           
 void query(String query, PlaceSearchListener listener, com.google.gwt.maps.client.geom.LatLngBounds view)
           
 void setMergeDistance(double mergeDistance)
          Results with
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaceSearch

public PlaceSearch()
Method Detail

query

public void query(String query,
                  PlaceSearchListener listener)

setMergeDistance

public void setMergeDistance(double mergeDistance)
Results with

Parameters:
mergeDistance - in meters

query

public void query(String query,
                  PlaceSearchListener listener,
                  com.google.gwt.maps.client.geom.LatLngBounds view)

getSeachCompleteEventAsPlaces

public static List<Place> getSeachCompleteEventAsPlaces(com.google.gwt.search.client.SearchCompleteHandler.SearchCompleteEvent event,
                                                        List<Place> places)

mergeNearbyEntries

public static List<Place> mergeNearbyEntries(List<Place> places,
                                             double mergeDistance)


Copyright © 2011 OneBusAway. All Rights Reserved.