Class MultiMarker

java.lang.Object
mil.nga.geopackage.map.geom.MultiMarker
All Implemented Interfaces:
ShapeMarkers

public class MultiMarker extends Object implements ShapeMarkers
Multiple Marker object
  • Constructor Details

    • MultiMarker

      public MultiMarker()
  • Method Details

    • add

      public void add(Marker marker)
      Add a Marker
      Parameters:
      marker - marker
    • getMarkers

      public List<Marker> getMarkers()
      Get all markers
      Specified by:
      getMarkers in interface ShapeMarkers
      Returns:
      markers
    • setMarkers

      public void setMarkers(List<Marker> markers)
      Set the Markers
      Parameters:
      markers - list of Markers
    • remove

      public void remove()
      Remove from the map
    • setVisible

      public void setVisible(boolean visible)
      Updates visibility of all objects
      Specified by:
      setVisible in interface ShapeMarkers
      Parameters:
      visible - visible flag
    • setVisibleMarkers

      public void setVisibleMarkers(boolean visible)
      Updates visibility of the shape representing markers
      Specified by:
      setVisibleMarkers in interface ShapeMarkers
      Parameters:
      visible - visible flag
    • setZIndex

      public void setZIndex(float zIndex)
      Set the z index
      Specified by:
      setZIndex in interface ShapeMarkers
      Parameters:
      zIndex - z index
    • delete

      public void delete(Marker marker)
      Delete the marker
      Specified by:
      delete in interface ShapeMarkers
      Parameters:
      marker - marker
    • addNew

      public void addNew(Marker marker)
      Add the marker
      Specified by:
      addNew in interface ShapeMarkers
      Parameters:
      marker - marker