Package org.onebusaway.webapp.gwt.common.control

Examples of org.onebusaway.webapp.gwt.common.control.PlaceSearch$LocationHandler


    public void handleUpdate(LocationQueryModel model) {

      if (model.getLocation() == null) {

        PlaceSearch search = new PlaceSearch();

        LatLngBounds view = LatLngBounds.newInstance();
        view.extend(LatLng.newInstance(47.97430795395781, -121.79454591726969));
        view.extend(LatLng.newInstance(47.152554314370924, -122.50104172828858));

        search.query(model.getLocationQuery(), new GeocoderResultHandler(),
            view);

      } else {

        _stateEvents.fireModelChange(new StateEvent(
View Full Code Here

TOP

Related Classes of org.onebusaway.webapp.gwt.common.control.PlaceSearch$LocationHandler

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.