Package org.jdesktop.swingx.mapviewer

Examples of org.jdesktop.swingx.mapviewer.DefaultTileFactory


  private JXMapKit buildMap() {
    final JXMapKit mapkit = new JXMapKit();
    mapkit.setDefaultProvider(DefaultProviders.Custom);
    mapkit.setAddressLocationShown(false);
    final TileFactory factory = new DefaultTileFactory(new GW2TileFactoryInfo());
    mapkit.setTileFactory(factory);
    mapkit.setMiniMapVisible(false);
    mapkit.setPreferredSize(new Dimension(640, 480));

    mapkit.getMainMap().setDrawTileBorders(true);
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.mapviewer.DefaultTileFactory

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.