com.supermap.mapping

Interface MeasureListener



  • public interface MeasureListener
    The measure listener.
    • Method Detail

      • lengthMeasured

        void lengthMeasured(double curResult,
                            Point curPoint)
        The length measure result.
        Parameters:
        curResult - The current measured result value, in meters.
        curPoint - The current scale (pixel coordinates).
      • areaMeasured

        void areaMeasured(double curResult,
                          Point curPoint)
        The area measure result.
        Parameters:
        curResult - The current measured result value, in square meters.
        curPoint - The current scale (pixel coordinates).
      • angleMeasured

        void angleMeasured(double curAngle,
                           Point curPoint)
        The anlge result.

        By settingAction.MEASUREANGLETo achieve the measurement angle

        Parameters:
        curAngle - The angle of the current measurement, unit degrees
        curPoint - The current point (pixel coordinates), that is, the last point