diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-DBEE8177-7246-4FEE-A0F1-D6AEEA6EA206.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-DBEE8177-7246-4FEE-A0F1-D6AEEA6EA206.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,85 @@ + + +
Description:
+The Calculate
method performs mathematical calculations
+based on a source location and a target location.
This is a synchronous method.
+Syntax:
+result = so.ILocation.Calculate(criteria);+ +
Arguments:
+criteria
:
This is an object that specifies the mathematical operation to perform +and the input values to use in the operation. For more information about the +object properties and how to define them, see section Calculation criteria.
+ +Return value:
+The Calculate
method returns an object that contains
+the calculation results, an error code, and an error message.
+ Property + |
+ Description + |
+ Value + |
---|---|---|
+
|
+
+ This contains the results for the requested mathematical operation. +The type of the value depends on the operation. + |
+
+ See Calculation results. + |
+
+
|
+
+ This is a number that specifies a predefined error code. + |
++ + | +
+
|
+
+ This is a text string that describes the error. + |
++ + | +
Remarks:
+The WGS +84 datum is used to reference coordinates.
+Example code:
+ +For the complete source of a sample widget +that demonstrates how to use this Service API, see the +full example.
+ + +