Package org.geomajas.puregwt.client.map.event

Examples of org.geomajas.puregwt.client.map.event.ViewPortTranslatedEvent


  }

  public void applyPosition(Coordinate coordinate) {
    position = checkPosition(coordinate, scale);
    if (eventBus != null) {
      eventBus.fireEvent(new ViewPortTranslatedEvent(this));
    }
  }
View Full Code Here


    Coordinate tempPosition = checkPosition(bounds.getCenterPoint(), newScale);
    if (newScale == scale) {
      if (!position.equals(tempPosition)) {
        position = tempPosition;
        if (eventBus != null) {
          eventBus.fireEvent(new ViewPortTranslatedEvent(this));
        }
      }
    } else {
      position = tempPosition;
      scale = newScale;
View Full Code Here

TOP

Related Classes of org.geomajas.puregwt.client.map.event.ViewPortTranslatedEvent

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.