From 6efcab3d2d4da91f7e9f95974f62cdf521a07a0d Mon Sep 17 00:00:00 2001 From: Pierre GIRAUD Date: Wed, 24 Oct 2012 13:31:06 +0200 Subject: [PATCH] don't try to update the matrix in setMap since it's too early and done later in moveTo --- lib/OpenLayers/Layer/WMTS.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/OpenLayers/Layer/WMTS.js b/lib/OpenLayers/Layer/WMTS.js index cfe128e4d9..959dfccded 100644 --- a/lib/OpenLayers/Layer/WMTS.js +++ b/lib/OpenLayers/Layer/WMTS.js @@ -264,7 +264,6 @@ OpenLayers.Layer.WMTS = OpenLayers.Class(OpenLayers.Layer.Grid, { */ setMap: function() { OpenLayers.Layer.Grid.prototype.setMap.apply(this, arguments); - this.updateMatrixProperties(); }, /**