Getting rid of lines between rotated tiles
Applying the scale3d trick just to get rid of small pixel gap between rotated tiles. This will be reworked soon with additional use of transforms.
This commit is contained in:
@@ -154,7 +154,7 @@ ol.renderer.dom.Map.prototype.handleRotationChanged = function() {
|
||||
return;
|
||||
}
|
||||
var rotation = map.getRotation() * 180 / Math.PI;
|
||||
this.applyTransform_('rotate(' + rotation + 'deg)');
|
||||
this.applyTransform_('rotate(' + rotation + 'deg) scale3d(1, 1, 1)');
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user