Ongoing cleanup and refactoring of maps.
This commit is contained in:
@@ -26,7 +26,7 @@ export default class Projection {
|
||||
* @memberof Projection
|
||||
*/
|
||||
backward(point) {
|
||||
console.error('You must override the backward fuction in ' + this.name + '.')
|
||||
console.error('You must override the backward function in ' + this.name + '.')
|
||||
}
|
||||
|
||||
toString() {
|
||||
@@ -38,6 +38,6 @@ export default class Projection {
|
||||
}
|
||||
|
||||
get maxViewport() {
|
||||
return { min: new PIXI.Point(-90, -180), max: new PIXI.Point(90, 180) }
|
||||
return { min: new PIXI.Point(0, 0), max: new PIXI.Point(1, 1) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user