Package 

Interface MapObject


  • 
    public interface MapObject
    
                        

    A common interface for all renderable map objects.

    This interface serves as a marker for objects that can be added to a Layer and rendered by a com.google.maps.android.renderer.Renderer. Implementations of this interface represent pure data models and should not hold references to Android SDK objects (like com.google.android.gms.maps.model.Marker).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum MapObject.Type

      Enum representing the type of map object.

    • Method Summary

      Modifier and Type Method Description
      abstract MapObject.Type getType() Gets the type of the map object.
      abstract Boolean getIsVisible() Gets and sets the visibility of the map object.
      abstract Unit setIsVisible(Boolean isVisible) Gets and sets the visibility of the map object.
      abstract Float getZIndex() Gets and sets the z-index of the map object.
      abstract Unit setZIndex(Float zIndex) Gets and sets the z-index of the map object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait