构造器和说明 |
---|
Position(double aLatitude,
double aLongitude)
构造器
|
限定符和类型 | 方法和说明 |
---|---|
float |
getBearing()
获得所在方位
|
double |
getLatitude()
纬度get方法
|
double |
getLongitude()
经度get方法
|
float |
getZoomLevel()
得到缩放比例
|
boolean |
hasBearing()
是否有方位指向
|
boolean |
hasZoomLevel()
判断是否可以缩放
|
void |
setBearing(float aBearing)
设置方位
|
void |
setZoomLevel(float aZoomLevel)
设置缩放比例
|
public Position(double aLatitude, double aLongitude)
aLatitude
- 纬度aLongitude
- 经度public double getLatitude()
getLatitude
在接口中 IPosition
public double getLongitude()
getLongitude
在接口中 IPosition
public boolean hasBearing()
hasBearing
在接口中 IPosition
public float getBearing()
getBearing
在接口中 IPosition
public void setBearing(float aBearing)
public boolean hasZoomLevel()
hasZoomLevel
在接口中 IPosition
public float getZoomLevel()
getZoomLevel
在接口中 IPosition
public void setZoomLevel(float aZoomLevel)