com.supermap.onlineservices
Class CoordinateConvert
- java.lang.Object
-
- com.supermap.onlineservices.CoordinateConvert
-
public class CoordinateConvert extends java.lang.Object
Coordinate convert, Online coordinate convert. About supported coordinate types,Please seeCoordinateType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static interface
CoordinateConvert.ConvertCallback
Coordinate conversion callback
-
Constructor Summary
Constructors Constructor and Description CoordinateConvert(android.content.Context context)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
convert(CoordinateConvertParameter parameter)
Coordinate convertboolean
setConvertCallback(CoordinateConvert.ConvertCallback callback)
Set coordinate conversion callbackvoid
setHostnameVerifier(X509HostnameVerifier hostnameVerifier)
Set the host name validator Used to verify host names when accessing https addresses
-
-
-
Constructor Detail
-
CoordinateConvert
public CoordinateConvert(android.content.Context context)
The constructor.- Parameters:
context
- Application context.
-
-
Method Detail
-
convert
public void convert(CoordinateConvertParameter parameter)
Coordinate convert- Parameters:
parameter
- Coordinate conversion parameters.
-
setConvertCallback
public boolean setConvertCallback(CoordinateConvert.ConvertCallback callback)
Set coordinate conversion callback- Parameters:
callback
- Callback object- Returns:
- If setting successful return true
-
setHostnameVerifier
public void setHostnameVerifier(X509HostnameVerifier hostnameVerifier)
Set the host name validatorUsed to verify host names when accessing https addresses
- Parameters:
hostnameVerifier
-
-
-