renaming things
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user