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

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


  @Inject
  private MapWidgetImpl() {
    super();

    // Attach an HtmlContainer inside the clipping area (used for rendering layers):
    layerHtmlContainer = new HtmlGroup();
    add(layerHtmlContainer, 0, 0);

    // Attach a DrawingArea inside the clipping area (used for vector rendering):
    drawingArea = new DrawingArea(100, 100);
    add(drawingArea, 0, 0);
View Full Code Here


  private HtmlContainer getHtmlContainer(Layer<?> layer) {
    if (layerContainers.containsKey(layer)) {
      return layerContainers.get(layer);
    }
    HtmlGroup layerContainer = new HtmlGroup(htmlContainer.getWidth(), htmlContainer.getHeight());
    htmlContainer.add(layerContainer);
    layerContainers.put(layer, layerContainer);
    return layerContainer;
  }
View Full Code Here

    container.zoomToLocation(scale / beginScale, 0, 0);
  }

  private HtmlContainer getTopContainer() {
    if (htmlContainer.getChildCount() < 2) {
      HtmlContainer tempContainer = new HtmlGroup();
      if (renderDelayed) {
        tempContainer.setVisible(false);
      }
      htmlContainer.add(tempContainer);
      return tempContainer;
    }
    return (HtmlContainer) htmlContainer.getChild(1);
View Full Code Here

TOP

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

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.