Examples of MapPanel


Examples of chunmap.app.MapPanel

    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setSize(850, 700);
    frame.setLayout(new FlowLayout());
 
    //get map panel
    final MapPanel ui = initMap();
   
    frame.add(ui);
    addButton();
   
    //show frame
View Full Code Here

Examples of chunmap.app.MapPanel

    //show frame
    frame.setVisible(true);
  }

  private MapPanel initMap() {
    MapPanel ui = new MapPanel(800, 510);
    ui.setPreferredSize(new Dimension(800, 510));
    map = ui.getMap();

    addLayer(map);

    map.fullView();
    map.refreshMap();
View Full Code Here

Examples of chunmap.app.MapPanel

   
    this.setSize(850, 700);
    this.setLayout(new FlowLayout());
 
    //get map panel
    final MapPanel ui = initMap();
    this.add(ui);
    addButton(this,ui.getMap());
  }
View Full Code Here

Examples of chunmap.app.MapPanel

    this.add(ui);
    addButton(this,ui.getMap());
  }

  private MapPanel initMap() {
    MapPanel ui = new MapPanel(800, 510);
    ui.setPreferredSize(new Dimension(800, 510));
    map = ui.getMap();

    addLayer(map);

    map.fullView();
    map.refreshMap();
View Full Code Here

Examples of com.bbn.openmap.gui.MapPanel

             * components, including the MapBean and the MapHandler.
             * You can extend the BasicMapPanel class if you like to
             * add different functionality or different types of
             * objects.
             */
            MapPanel mapPanel = new BasicMapPanel();

            // Get the default MapHandler the BasicMapPanel created.
            MapHandler mapHandler = mapPanel.getMapHandler();
            mapHandler.add(frame);

            // Get the default MapBean that the BasicMapPanel created.
            MapBean mapBean = mapPanel.getMapBean();

            // Set the map's center
            mapBean.setCenter(new LatLonPoint(43.0f, -95.0f));

            // Set the map's scale 1:120 million
View Full Code Here

Examples of com.bbn.openmap.gui.MapPanel

        if (propHandler == null) {
            propHandler = new PropertyHandler();
        }

        MapPanel mapPanel = new BasicMapPanel(propHandler);
        mapPanel.getMapHandler().add(this);
        Debug.message("app", "OpenMapApplet.init()");
    }
View Full Code Here

Examples of editor.screen.MapPanel

    private void init(final int width, final int height) {
        initTileSetList();
        currentLayer = 1;
        currentBloc = tilesetList.get(0).getSubimage(0, 0, GeneralConstant.BLOC_WIDTH, GeneralConstant.BLOC_HEIGHT);
        guiModel.setLeftPanel(new MapPanel(this), new Dimension(width * GeneralConstant.BLOC_WIDTH, height * GeneralConstant.BLOC_HEIGHT));
        guiModel.setRightPanel(new ListTileSetScreen(this));

        if (config == null) {
            config = new MapConfig();
        }
View Full Code Here

Examples of org.contikios.contiki.collect.gui.MapPanel

    mainPanel.setBackground(nodeList.getBackground());
    mainPanel.setTabLayoutPolicy(JTabbedPane.WRAP_TAB_LAYOUT);
    categoryTable.put(MAIN, mainPanel);

    serialConsole = new SerialConsole(this, MAIN);
    mapPanel = new MapPanel(this, "Sensor Map", MAIN, true);
    String image = getConfig("collect.mapimage");
    if (image != null) {
      mapPanel.setMapBackground(image);
    }
    NodeControl nodeControl = new NodeControl(this, MAIN);

    visualizers = new Visualizer[] {
        nodeControl,
        mapPanel,
        new MapPanel(this, "Network Graph", MAIN, false),
        new BarChartPanel(this, SENSORS, "Average Temperature", "Temperature", "Nodes", "Celsius",
            new String[] { "Celsius" }) {
          {
            chart.getCategoryPlot().getRangeAxis().setStandardTickUnits(NumberAxis.createIntegerTickUnits());
          }
View Full Code Here

Examples of org.openxri.admin.components.MapPanel

      super(id);
      this.setModel(new CompoundPropertyModel(this));

      // create and add components

      this.add(new MapPanel("attributes"));
    }
View Full Code Here

Examples of org.openxri.admin.components.MapPanel

      super(id);
      this.setModel(new CompoundPropertyModel(this));

      // create and add components

      this.add(new MapPanel("attributes"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.