Examples of SlippyMapBBoxChooser


Examples of de.hpi.eworld.importer.osm.tools.SlippyMapBBoxChooser

  public JPanel buildMainPanel() {

    JPanel pnl = new JPanel();
    pnl.setLayout(new GridBagLayout());

    pnlSlippyMapBBoxChooser = new SlippyMapBBoxChooser();
    pnlSlippyMapBBoxChooser.addPropertyChangeListener(this);
    pnl.add(pnlSlippyMapBBoxChooser, GBC.eol().fill());

    Font labelFont = sizeCheck.getFont();
    sizeCheck.setFont(labelFont.deriveFont(Font.PLAIN, labelFont.getSize()));
View Full Code Here

Examples of org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser

        showBounds.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                if (tree.getSelectedLayers().get(0).bounds != null) {
                    SlippyMapBBoxChooser mapPanel = new SlippyMapBBoxChooser();
                    mapPanel.setBoundingBox(tree.getSelectedLayers().get(0).bounds);
                    JOptionPane.showMessageDialog(null, mapPanel, tr("Show Bounds"), JOptionPane.PLAIN_MESSAGE);
                } else {
                    JOptionPane.showMessageDialog(null, tr("No bounding box was found for this layer."),
                            tr("WMS Error"), JOptionPane.ERROR_MESSAGE);
                }
View Full Code Here

Examples of org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser

    /**
     * Create the chooser component.
     */
    public SlippyMapChooser() {
        pnlSlippyMapBBoxChooser = new SlippyMapBBoxChooser();
        pnlSlippyMapBBoxChooser.addPropertyChangeListener(this);
    }
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.