Examples of zoomToLevel()


Examples of de.fhpotsdam.unfolding.UnfoldingMap.zoomToLevel()

    return maps;
  }

  public UnfoldingMap createMap(int x, int y, int mapWidth, int mapHeight) {
    UnfoldingMap map = new UnfoldingMap(this, x, y, mapWidth, mapHeight);
    map.zoomToLevel(2);
    map.panTo(usaCenter);
    return map;
  }
}
View Full Code Here

Examples of de.fhpotsdam.unfolding.UnfoldingMap.zoomToLevel()

    rightMap = createWrappedMap(map, eventDispatcher, false);
  }

  public UnfoldingMap createWrappedMap(UnfoldingMap mainMap, EventDispatcher eventDispatcher, boolean left) {
    UnfoldingMap wrappedMap = new UnfoldingMap(this);
    wrappedMap.zoomToLevel(mainMap.getZoomLevel());
    eventDispatcher.register(wrappedMap, "zoom", mainMap.getId());
    return wrappedMap;
  }

  public void draw() {
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.