Class MapObject

  • Direct Known Subclasses:
    KMLObject, MapShape

    public class MapObject
    extends java.lang.Object
    The base class for map objects such as markers, line objects, shapes etc.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected GeoData data  
      protected java.lang.String name  
      protected int type
      The object type, for example: point, line, or polygons.
    • Constructor Summary

      Constructors 
      Constructor Description
      MapObject()  
    • Field Detail

      • type

        protected int type
        The object type, for example: point, line, or polygons.
        See Also:
        EnumMapFeatures
      • name

        protected java.lang.String name
    • Constructor Detail

      • MapObject

        public MapObject()
    • Method Detail

      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • setType

        public void setType​(int type)
      • getType

        public int getType()
      • setGeoData

        public void setGeoData​(GeoData data)
      • getGeoData

        public GeoData getGeoData()