fix _get_padded_max_bounds
This commit is contained in:
parent
e87f2df21a
commit
cfd59cfec3
1 changed files with 2 additions and 2 deletions
|
@ -893,8 +893,8 @@ c3nav = {
|
||||||
var bounds = c3nav.bounds,
|
var bounds = c3nav.bounds,
|
||||||
factor = Math.pow(2, zoom);
|
factor = Math.pow(2, zoom);
|
||||||
return [
|
return [
|
||||||
[bounds[0][0]-510/factor, bounds[0][1]-30/factor],
|
[bounds[0][0]-600/factor, bounds[0][1]-200/factor],
|
||||||
[bounds[1][0]+60/factor, bounds[1][1]+160/factor]
|
[bounds[1][0]+600/factor, bounds[1][1]+200/factor]
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
_add_location_to_map: function(location, icon) {
|
_add_location_to_map: function(location, icon) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue