From 207e39ccf308943e483803c2fe5265e2489d4b50 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 1 Jan 2013 15:05:58 +0100 Subject: [PATCH] in manhattan grid example, use Ox.formatOrdinal --- examples/maps/manhattan_grid/js/example.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/maps/manhattan_grid/js/example.js b/examples/maps/manhattan_grid/js/example.js index 9d79a788..8ac5a733 100644 --- a/examples/maps/manhattan_grid/js/example.js +++ b/examples/maps/manhattan_grid/js/example.js @@ -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' + '
' + Ox.formatDegrees(latlng.lat, 'lat') + ' / ' + Ox.formatDegrees(((latlng.lng + 180) % 360) - 180, 'lng')