Merge pull request #730 from pgiraud/wmts

don't try to update the matrix in setMap since it's too early and done l...
This commit is contained in:
Pierre GIRAUD
2013-03-20 00:48:41 -07:00

View File

@@ -264,7 +264,6 @@ OpenLayers.Layer.WMTS = OpenLayers.Class(OpenLayers.Layer.Grid, {
*/
setMap: function() {
OpenLayers.Layer.Grid.prototype.setMap.apply(this, arguments);
this.updateMatrixProperties();
},
/**