Property | Type | Description | |
---|---|---|---|
$decimalPoint | string | ||
$digits | integer | ||
$separator | Separator string between latitude and longitude | ||
$unitType | string | ||
$units | array | ||
$useCardinalLetters | boolean | Use cardinal letters for N/S and W/E instead of minus sign |
Method | Description | |
---|---|---|
__construct ( string $separator = " " ) | ||
format ( |
||
setDecimalPoint ( string $decimalPoint ) : |
||
setDigits ( integer $digits ) : |
||
setSeparator ( $separator ) : |
Sets the separator between latitude and longitude values | |
setUnits ( string $type ) | ||
useCardinalLetters ( boolean $value ) : |
Method | Description | |
---|---|---|
getLatPrefix ( $lat ) : string | ||
getLatSuffix ( $lat ) : string | ||
getLngPrefix ( $lng ) : string | ||
getLngSuffix ( $lng ) : string |
public setDecimalPoint ( string $decimalPoint ) : |
||
$decimalPoint | string | |
return |
public setSeparator ( $separator ) : |
||
$separator | ||
return |
public useCardinalLetters ( boolean $value ) : |
||
$value | boolean | |
return |
protected bool $useCardinalLetters | ||
return | boolean |