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

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


      GWT.log("WARN: Trying to remove bottom container when there is no top container...");
    }
  }

  private void fakeZoom(double scale, Bbox bounds) {
    HtmlContainer container = getBottomContainer();
    if (container == null || beginOrigin == null) {
      getTopContainer();
      return;
    }

    // Zoom in:
    container.zoomToLocation(scale / beginScale, 0, 0);
  }
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.HtmlContainer

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.