in manhattan grid example, use Ox.formatOrdinal

This commit is contained in:
rolux 2013-01-01 15:05:58 +01:00
parent 6d5b254a94
commit 207e39ccf3

View file

@ -611,9 +611,9 @@ Ox.load('Image', function() {
coordinates.
*/
$sign.html(
Ox.formatNumber(as.avenue) + 'th Av & '
Ox.formatOrdinal(as.avenue) + ' Av & '
+ as.hemisphere + ' '
+ Ox.formatNumber(as.street) + 'th St'
+ Ox.formatOrdinal(as.street) + ' St'
+ '<div class="latlng">'
+ Ox.formatDegrees(latlng.lat, 'lat') + ' / '
+ Ox.formatDegrees(((latlng.lng + 180) % 360) - 180, 'lng')