undo style/format changes
This commit is contained in:
parent
1f03a6b181
commit
5abe25c316
@ -321,34 +321,19 @@ LayergroupController.prototype.finalizeGetTileOrGrid = function(err, req, res, t
|
||||
};
|
||||
|
||||
LayergroupController.prototype.bbox = function(req, res, next) {
|
||||
this.staticMap(
|
||||
req,
|
||||
res,
|
||||
+req.params.width,
|
||||
+req.params.height,
|
||||
{
|
||||
this.staticMap(req, res, +req.params.width, +req.params.height, {
|
||||
west: +req.params.west,
|
||||
north: +req.params.north,
|
||||
east: +req.params.east,
|
||||
south: +req.params.south
|
||||
},
|
||||
next
|
||||
);
|
||||
}, next);
|
||||
};
|
||||
|
||||
LayergroupController.prototype.center = function(req, res, next) {
|
||||
this.staticMap(
|
||||
req,
|
||||
res,
|
||||
+req.params.width,
|
||||
+req.params.height,
|
||||
+req.params.z,
|
||||
{
|
||||
this.staticMap(req, res, +req.params.width, +req.params.height, +req.params.z, {
|
||||
lng: +req.params.lng,
|
||||
lat: +req.params.lat
|
||||
},
|
||||
next
|
||||
);
|
||||
}, next);
|
||||
};
|
||||
|
||||
LayergroupController.prototype.staticMap = function(req, res, width, height, zoom /* bounds */, center, next) {
|
||||
|
Loading…
Reference in New Issue
Block a user