renaming things

This commit is contained in:
Gavin McDonald
2019-01-13 15:15:39 -05:00
parent 064bf10e98
commit 1ba10b1f87
6 changed files with 22 additions and 22 deletions

View File

@@ -87,7 +87,7 @@ export class Tessellate {
'zoom',
'pixelToTile',
'tileToPixel',
'getTilePoints',
'getLocationSets',
'draw',
'resize',
'remap',
@@ -234,7 +234,7 @@ export class Tessellate {
return this.cartographer.tileToPixel(tilePoint);
}
getTilePoints ({upperLeftX, upperLeftY, lowerRightX, lowerRightY}) {
getLocationSets ({upperLeftX, upperLeftY, lowerRightX, lowerRightY}) {
const upperLeft = new Point(upperLeftX, upperLeftY);
const upperRight = new Point(lowerRightX, 0);
const lowerLeft = new Point(0, lowerRightY);
@@ -255,7 +255,7 @@ export class Tessellate {
lowerRightY: height
};
const pointGroups = this.getTilePoints(corners);
const locationSets = this.getLocationSets(corners);
this.settings.draw({
context,
@@ -266,7 +266,7 @@ export class Tessellate {
lastNow: context.lastUTC,
now: context.utc,
pointGroups,
locationSets,
});
}