in manhattan grid example, use Ox.formatOrdinal
This commit is contained in:
parent
6d5b254a94
commit
207e39ccf3
1 changed files with 2 additions and 2 deletions
|
@ -611,9 +611,9 @@ Ox.load('Image', function() {
|
||||||
coordinates.
|
coordinates.
|
||||||
*/
|
*/
|
||||||
$sign.html(
|
$sign.html(
|
||||||
Ox.formatNumber(as.avenue) + 'th Av & '
|
Ox.formatOrdinal(as.avenue) + ' Av & '
|
||||||
+ as.hemisphere + ' '
|
+ as.hemisphere + ' '
|
||||||
+ Ox.formatNumber(as.street) + 'th St'
|
+ Ox.formatOrdinal(as.street) + ' St'
|
||||||
+ '<div class="latlng">'
|
+ '<div class="latlng">'
|
||||||
+ Ox.formatDegrees(latlng.lat, 'lat') + ' / '
|
+ Ox.formatDegrees(latlng.lat, 'lat') + ' / '
|
||||||
+ Ox.formatDegrees(((latlng.lng + 180) % 360) - 180, 'lng')
|
+ Ox.formatDegrees(((latlng.lng + 180) % 360) - 180, 'lng')
|
||||||
|
|
Loading…
Reference in a new issue