com.supermap.mapping
Interface MeasureListener
-
public interface MeasureListener
The measure listener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
angleMeasured(double curAngle, Point curPoint)
The anlge result.void
areaMeasured(double curResult, Point curPoint)
The area measure result.void
lengthMeasured(double curResult, Point curPoint)
The length measure result.
-
-
-
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 setting
To achieve the measurement angleAction.MEASUREANGLE
- Parameters:
curAngle
- The angle of the current measurement, unit degreescurPoint
- The current point (pixel coordinates), that is, the last point
-
-