프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$lat | |||
$lng |
메소드 | 설명 | |
---|---|---|
LatLng ( $lat, $lng ) | Create a new LatLng object from the given latitude and longitude | |
OSGB36ToWGS84 ( ) | Convert this LatLng object from OSGB36 datum to WGS84 datum. | |
WGS84ToOSGB36 ( ) | Convert this LatLng object from WGS84 datum to OSGB36 datum. | |
distance ( $to ) : the | Calculate the surface distance between this LatLng object and the one passed in as a parameter. | |
toOSRef ( ) : the | Convert this LatLng object into an OSGB grid reference. Note that this function does not take into account the bounds of the OSGB grid - beyond the bounds of the OSGB grid, the resulting OSRef object has no meaning | |
toString ( ) : a | Return a string representation of this LatLng object | |
toUTMRef ( ) : the | Convert a latitude and longitude to an UTM reference |
public LatLng ( $lat, $lng ) |
public OSGB36ToWGS84 ( ) |
public WGS84ToOSGB36 ( ) |
public distance ( $to ) : the | ||
리턴 | the | surface distance |
public toOSRef ( ) : the | ||
리턴 | the | converted OSGB grid reference |
public toString ( ) : a | ||
리턴 | a | string representation of this LatLng object |
public toUTMRef ( ) : the | ||
리턴 | the | converted UTM reference |