Class GeoObject

java.lang.Object
com.navmii.sdk.map.GeoObject
Direct Known Subclasses:
GeoMarker, GeoPolygon, GeoPolyline

public abstract class GeoObject
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    GeoObject()  
  • Method Summary

    Modifier and Type Method Description
    float getZIndex()  
    void hide()
    Hides the object from the map.
    boolean isHidden()  
    void setZIndex​(float zIndex)
    Z-index specifies ordering of overlapping geo objects.
    void show()
    Shows the object on the map.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • show

      public void show()
      Shows the object on the map.
    • hide

      public void hide()
      Hides the object from the map.
    • isHidden

      public boolean isHidden()
      Returns:
      true if the object is hidden, false otherwise
    • getZIndex

      public float getZIndex()
      Returns:
      The z-index value of the object.
      See Also:
      setZIndex(float)
    • setZIndex

      public void setZIndex​(float zIndex)
      Z-index specifies ordering of overlapping geo objects. Objects with higher value of z-index appear on top of objects with lower value.
      Parameters:
      zIndex - The z-index value of the object.