manhattan grid example: minor changes
This commit is contained in:
parent
71a570a714
commit
0d3119d6f9
1 changed files with 4 additions and 4 deletions
|
@ -462,7 +462,7 @@ Ox.load('Image', function() {
|
|||
});
|
||||
});
|
||||
/*
|
||||
Then, on the Manhattan tile, we draw Broadway, too.
|
||||
Then, on the Manhattan tile, we add Broadway.
|
||||
*/
|
||||
if (marker.title == 'Manhattan') {
|
||||
var line = mapLine(Ox.getLine(
|
||||
|
@ -471,7 +471,7 @@ Ox.load('Image', function() {
|
|||
1
|
||||
), g);
|
||||
image.drawPath(line, {
|
||||
color: 'rgba(0, 0, 255, 0.5)',
|
||||
color: colors.broadway,
|
||||
width: 2
|
||||
});
|
||||
}
|
||||
|
@ -604,9 +604,9 @@ Ox.load('Image', function() {
|
|||
coordinates.
|
||||
*/
|
||||
$sign.html(
|
||||
Ox.formatNumber(as.avenue, 0) + 'th Av & '
|
||||
Ox.formatNumber(as.avenue) + 'th Av & '
|
||||
+ as.hemisphere + ' '
|
||||
+ Ox.formatNumber(as.street, 0) + 'th St'
|
||||
+ Ox.formatNumber(as.street) + 'th St'
|
||||
+ '<div class="latlng">'
|
||||
+ Ox.formatDegrees(latlng.lat, 'lat') + ' / '
|
||||
+ Ox.formatDegrees(((latlng.lng + 180) % 360) - 180, 'lng')
|
||||
|
|
Loading…
Reference in a new issue