fix error in manhattan grid example
This commit is contained in:
parent
5d8ec4be71
commit
70f4aec2cb
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue