Package org.onebusaway.webapp.gwt.where_library.view.stops

Examples of org.onebusaway.webapp.gwt.where_library.view.stops.TransitMapManager


public class DefaultOperationHandler implements OperationHandler {

  @Override
  public void handleOperation(OperationContext context) {

    TransitMapManager manager = context.getTransitMapManager();
    manager.showStopsInCurrentView();

    Panel panel = context.getPanel();
    DefaultOperationWidget widget = new DefaultOperationWidget();
    panel.add(widget);
View Full Code Here


    _place = new PlaceImpl("", location, accuracy);
  }

  @Override
  public void handleOperation(OperationContext context) {
    TransitMapManager transitMapManager = context.getTransitMapManager();
    transitMapManager.showPlace(_place, true, null);
  }
View Full Code Here

    _map.setScrollWheelZoomEnabled(true);

    _map.setHeight("100%");
    _map.setWidth("100%");

    _transitMapManager = new TransitMapManager(_map);
    _transitMapManager.addStopClickedHandler(new StopClickedHandlerImpl());
    _panel.addStyleName(_css.MapViewControllerContainer());

    if (_locationManager.hasPhysicalLocation())
      updateCurrentLocationMarker(currentLocation.getLatitude(),
View Full Code Here

TOP

Related Classes of org.onebusaway.webapp.gwt.where_library.view.stops.TransitMapManager

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.