wrapping for pointyXY
This commit is contained in:
@@ -143,6 +143,7 @@ export class Tessellate {
|
||||
|
||||
tap (event) {
|
||||
let point = new Point(event.offsetX, event.offsetY);
|
||||
|
||||
let tile = this.cartographer.pixelToTile(point);
|
||||
|
||||
let tap = {
|
||||
@@ -216,7 +217,7 @@ export class Tessellate {
|
||||
const lowerLeft = new Point(0, lowerRightY);
|
||||
const lowerRight = new Point(lowerRightX, lowerRightY);
|
||||
|
||||
return funky.flatten(this.cartographer.boundingBox(upperLeft, upperRight, lowerLeft, lowerRight));
|
||||
return this.cartographer.boundingBox(upperLeft, upperRight, lowerLeft, lowerRight);
|
||||
}
|
||||
|
||||
draw (context) {
|
||||
|
||||
Reference in New Issue
Block a user