Package org.geomajas.puregwt.client.map.gfx

Examples of org.geomajas.puregwt.client.map.gfx.HtmlImageImpl


        tile.getBounds().setX(tile.getBounds().getX());
        tile.getBounds().setY(tile.getBounds().getY());

        // Add the tile to the list and render it:
        tiles.put(code, tile);
        HtmlImageImpl image = new HtmlImageImpl(tile.getUrl(), (int) Math.round(tile.getBounds().getWidth()),
            (int) Math.round(tile.getBounds().getHeight()), (int) Math.round(tile.getBounds().getY()),
            (int) Math.round(tile.getBounds().getX()), new ImageCounter(zooming));
        image.setOpacity(rasterLayer.getOpacity());
        if (zooming) {
          getTopContainer().add(image);
        } else {
          getBottomContainer().add(image);
        }
View Full Code Here


        tile.getBounds().setX(tile.getBounds().getX());
        tile.getBounds().setY(tile.getBounds().getY());

        // Add the tile to the list and render it:
        tiles.put(code, tile);
        HtmlImageImpl image = new HtmlImageImpl(tile.getUrl(), (int) Math.round(tile.getBounds().getWidth()),
            (int) Math.round(tile.getBounds().getHeight()), (int) Math.round(tile.getBounds().getY()),
            (int) Math.round(tile.getBounds().getX()));
        image.setOpacity(rasterLayer.getOpacity());
        htmlContainer.add(image);
      }
    }
    deferred = null;
  }
View Full Code Here

TOP

Related Classes of org.geomajas.puregwt.client.map.gfx.HtmlImageImpl

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.