Add opaque flag to ol.source.TileSource

This commit is contained in:
Tom Payne
2013-02-19 16:50:48 +01:00
parent 44e3e228eb
commit fb668a7fc6
9 changed files with 30 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ ol.source.OpenStreetMap = function() {
goog.base(this, {
attributions: [attribution],
opaque: true,
maxZoom: 18,
url: 'http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png'
});