Remove "margin" at the bottom of the canvas
This commit is contained in:
@@ -41,6 +41,7 @@ ol.renderer.canvas.Map = function(container, map) {
|
||||
|
||||
this.canvas_.style.width = '100%';
|
||||
this.canvas_.style.height = '100%';
|
||||
this.canvas_.style.display = 'block';
|
||||
this.canvas_.className = ol.css.CLASS_UNSELECTABLE;
|
||||
container.insertBefore(this.canvas_, container.childNodes[0] || null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user