public class Points extends Object implements Serializable
Constructor and Description |
---|
Points() |
Modifier and Type | Method and Description |
---|---|
String |
getCountry() |
com.mapinfo.midev.geometry.IPoint |
getPoint() |
void |
setCountry(String country)
Set the ISO-3166 3 character country code for the point.
|
void |
setPoint(double longitude,
double latitude)
This method provides a shortcut to building a point for users who are only using the default
Long/Lat WGS84 projection as the location to be reverse geocoded.
|
void |
setPoint(double x,
double y,
String csys)
This method provides a shortcut to building a point from the X,Y and coordsys projection to be
reverse geocoded.
|
void |
setPoint(com.mapinfo.midev.geometry.IPoint point)
Use this method to directly set the location to be reverse geocoded
|
public com.mapinfo.midev.geometry.IPoint getPoint()
public void setPoint(com.mapinfo.midev.geometry.IPoint point)
point
- location to be geocodedpublic void setPoint(double longitude, double latitude)
longitude
- The longitude of the locationlatitude
- The latitude of the locationpublic void setPoint(double x, double y, String csys)
x
- The x value of the location in the given coordinate systemy
- The y value of the location in the given coordinate systemcsys
- Th ecoordinate system in "codespace:code" format, e.g., "epsg:4326" for Long/Lat
WGS84.public String getCountry()
public void setCountry(String country)
country
- ISO-3166 3 char country code. Optional.Copyright © 2024. All rights reserved.