fix error in manhattan grid example

This commit is contained in:
rolux 2013-11-19 03:31:15 +01:00
parent 5d8ec4be71
commit 70f4aec2cb

View file

@ -220,7 +220,7 @@ Ox.load('Image', function() {
`getXYByLatLng` returns screen coordinates for a given point. `getXYByLatLng` returns screen coordinates for a given point.
We use Ox.getXYByLatLng, which takes a lat/lng pair and returns its x/y We use Ox.getXYByLatLng, which takes a lat/lng pair and returns its x/y
position on a 1×1 Mercator projection, with `{x: 0, y: 0}` at the position on a 1×1 Mercator projection, with `{x: 0, y: 0}` at the
bottom left and `{x: 1, y: 1}` at the top right. top left and `{x: 1, y: 1}` at the bottom right.
*/ */
function getXYByLatLng(point) { function getXYByLatLng(point) {
return Ox.map(Ox.getXYByLatLng(point), function(v) { return Ox.map(Ox.getXYByLatLng(point), function(v) {