Class OpenStreetMap

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants, UNITS

public class OpenStreetMap
extends OTSSimulationApplication<org.opentrafficsim.demo.carFollowing.OSMModel>
implements UNITS

Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

$LastChangedDate: 2020-01-23 11:14:19 +0100 (Thu, 23 Jan 2020) $, @version $Revision: 6010 $, by $Author: averbraeck $, initial version Feb 10, 2015

Author:
Peter Knoppers, Moritz Bergmann
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • setAnimationToggles

      protected void setAnimationToggles()
      Overrides:
      setAnimationToggles in class OTSSimulationApplication<org.opentrafficsim.demo.carFollowing.OSMModel>
    • main

      public static void main​(String[] args)
      Main program.
      Parameters:
      args - String[]; the command line arguments (not used)
    • demo

      public static void demo​(boolean exitOnClose)
      Start the demo.
      Parameters:
      exitOnClose - boolean; when running stand-alone: true; when running as part of a demo: false
    • chooseFile

      protected static final String chooseFile()
      choose a file and construct the model.
      Returns:
      a model based on a given file