MapPoint Web Service Constants

MapPoint Web Service is deprecated and will be retired November 18, 2011. Please go to http://www.microsoft.com/maps/mappoint.aspx for information about upgrading to Bing Maps.

The following table shows the MapPoint Web Service constants, which are properties of the MapPointConstants class. Values with an asterisk (*) are exact.

Property

Value

Type

Description

Cc546331.pubproperty(en-us,MSDN.10).gif AssumedDpi

96

Integer

The assumed resolution of pixels per inch in a rendered map image.

Cc546331.pubproperty(en-us,MSDN.10).gif DegreesPerRadian

57.295779513082323

Double

The factor to convert radians to degrees.

Cc546331.pubproperty(en-us,MSDN.10).gif EarthRadiusInKilometers

6378.2

Double

The radius of the Earth in kilometers.

Cc546331.pubproperty(en-us,MSDN.10).gif FeetPerKilometer

3280.8398950131232

Double

The factor to convert kilometers to feet.

Cc546331.pubproperty(en-us,MSDN.10).gif FeetPerMeter

3.280839895013123

Double

The factor to convert meters to feet.

Cc546331.pubproperty(en-us,MSDN.10).gif FindScoreThreshold

0.85

Double

The lowest score considered good for a found result.

Cc546331.pubproperty(en-us,MSDN.10).gif KilometersPerFoot

0.0003048 *

Double

The factor to convert feet to kilometers.

Cc546331.pubproperty(en-us,MSDN.10).gif KilometersPerMile

1.609344 *

Double

The factor to convert miles to kilometers.

Cc546331.pubproperty(en-us,MSDN.10).gif MetersPerFoot

0.3048 *

Double

The factor to convert feet to meters.

Cc546331.pubproperty(en-us,MSDN.10).gif MilesPerKilometer

0.621371192237334

Double

The factor to convert kilometers to miles.

Cc546331.pubproperty(en-us,MSDN.10).gif Pi

3.1415926535897931

Double

The value of π (pi) used in MapPoint Web Service.

Cc546331.pubproperty(en-us,MSDN.10).gif RadiansPerDegree

0.017453292519943295

Double

The factor to convert degrees to radians.

Show: