Class MapEvent

java.lang.Object
com.luciad.maps.MapEvent

public final class MapEvent extends Object
Event that indicates that some property of the map has changed.
Since:
2023.1
  • Constructor Details Link icon

    • MapEvent Link icon

      public MapEvent(@NotNull Map map, @NotNull String changedProperty)
      Creates a new map event for the given map and changed property.
      Parameters:
      map - the Map from which the event originates
      changedProperty - the changed property
  • Method Details Link icon

    • getMap Link icon

      @NotNull public Map getMap()
      Returns the map.
      Returns:
      the map.
    • getChangedProperty Link icon

      @NotNull public String getChangedProperty()
      Returns the name of the property that changed.

      Possible values are defined on the Map class. Examples are Map#propertyBackgroundColor and Map#propertyCamera.

      Returns:
      the name of the property that changed.