Package org.geomajas.layer.tile

Examples of org.geomajas.layer.tile.TileCode


  /** Add tiles to the list and render them on the map. */
  private void addTiles(List<org.geomajas.layer.tile.RasterTile> rasterTiles) {
    // Go over all tiles we got back from the server:
    for (RasterTile tile : rasterTiles) {
      TileCode code = tile.getCode().clone();

      // Add only new tiles to the list:
      if (!tiles.containsKey(code)) {
        // Give the tile the correct location, keeping panning in mind:
        tile.getBounds().setX(tile.getBounds().getX());
View Full Code Here

TOP

Related Classes of org.geomajas.layer.tile.TileCode

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.