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:
Tim Schaub
2012-09-29 01:21:35 +02:00
parent bc5cd13855
commit 50bf2f015c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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)');
};