com.supermap.mapping.speech

Class POIInfo

  • java.lang.Object
    • com.supermap.mapping.speech.POIInfo


  • public class POIInfo
    extends java.lang.Object
    POI information
    • Constructor Summary

      Constructors 
      Constructor and Description
      POIInfo(java.lang.String poiname, Point2D point2D) 
    • Constructor Detail

      • POIInfo

        public POIInfo(java.lang.String poiname,
                       Point2D point2D)
        Parameters:
        poiname - POI names
        point2D - POI coordinates
    • Method Detail

      • setPoiname

        public void setPoiname(java.lang.String poiname)
        Sets POI names
        Parameters:
        poiname - POI names
      • setPoint2D

        public void setPoint2D(Point2D point2D)
        Sets POI coordinates
        Parameters:
        point2D - POI coordinate
      • setSelected

        public void setSelected(boolean isSelected)
        Sets whether to select
        Parameters:
        isSelected - whether to select
      • getIsSelected

        public boolean getIsSelected()
        Gets whether it has been selected
        Returns:
        Whether it is selected
      • getPoiname

        public java.lang.String getPoiname()
        Gets POIU names
        Returns:
        POI name
      • getPoint2D

        public Point2D getPoint2D()
        Returns POI coordinates
        Returns:
        POI coordinates
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object