sealed
class
GeoCoordinate
A geographic coordinate.
public
GeoCoordinate
.Constructor(
latitude
,
longitude
)
public
readonly
double
GeoCoordinate
.Latitude
Latitude
public
readonly
double
GeoCoordinate
.Longitude
Longitude
public
readonly
double
GeoCoordinate
.GreatCircleDistance(
GeoCoordinate
c
)
Great circle distance on earth in meters
public
virtual
object
.GetLayoutTip
Return a layout for the hint popup
public
virtual
object
.GetLayoutSpan
Return a layout inside a span
public
virtual
object
.GetLayoutBlock
Return a layout inside a block
public
virtual
object
.GetSourceReference
Return a source reference for this object
public
virtual
void
object
.GetTexSource(
source
)
LaTeX source code for this object
public
virtual
Icon
object
.GetIcon
Return a icon for this object
public
virtual
int
object
.Compare(
value
)
Compares this object with another and returns (-1, 0, or 1)
Example
=
Block
{
var
EmpireState
=
#40.748586774884814, -73.98574486846448#
;
var
Zoo
=
new
GeoCoordinate
(40.76847590569982,
-
73.97200104609503);
Paragraph
{
"The location of the Empire State Building is "
;
EmpireState
;
};
Paragraph
{
"The distance to the Central Park Zoo is "
;
TextDigits
:
1;
(
EmpireState
.
GreatCircleDistance
(
Zoo
)
meters
)
tounit
miles
;
};
};
The location of the Empire State Building is
40.748586774884814,-73.98574486846448
The distance to the Central Park Zoo is 1.6 miles