Generates ordering string for latitude/longitude (GPS) distance ordering for setOrdering(String).
Namespace: CPSAssembly: CPS (in CPS.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
| C# |
|---|
public static string CPS_LatLongDistanceOrdering( Dictionary<string, string> array, string ascdesc ) |
| Visual Basic |
|---|
Public Shared Function CPS_LatLongDistanceOrdering ( _ array As Dictionary(Of String, String), _ ascdesc As String _ ) As String |
| Visual C++ |
|---|
public: static String^ CPS_LatLongDistanceOrdering( Dictionary<String^, String^>^ array, String^ ascdesc ) |
Parameters
- array
- Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, String>)>)>
Dictionary with xpaths and coordinates for center point. Dictionary must contain exactly two elements, latitude first and longitude second.
- ascdesc
- Type: System..::..String
Specifies 'ascending' or 'descending' order.