dom map renderer - add FIXMEs
This commit is contained in:
@@ -155,6 +155,8 @@ ol.dom.Map.prototype.createLayerRenderer = function(layer) {
|
|||||||
*/
|
*/
|
||||||
ol.dom.Map.prototype.handleCenterChanged = function() {
|
ol.dom.Map.prototype.handleCenterChanged = function() {
|
||||||
goog.base(this, 'handleCenterChanged');
|
goog.base(this, 'handleCenterChanged');
|
||||||
|
// FIXME: shiftLayersPane_ and resetLayersPane_ should be called
|
||||||
|
// elsewhere as we may be frozen here
|
||||||
if (goog.isDef(this.renderedCenter_)) {
|
if (goog.isDef(this.renderedCenter_)) {
|
||||||
this.shiftLayersPane_();
|
this.shiftLayersPane_();
|
||||||
} else {
|
} else {
|
||||||
@@ -185,6 +187,8 @@ ol.dom.Map.prototype.handleLayerRemove = function(layer) {
|
|||||||
*/
|
*/
|
||||||
ol.dom.Map.prototype.handleResolutionChanged = function() {
|
ol.dom.Map.prototype.handleResolutionChanged = function() {
|
||||||
goog.base(this, 'handleResolutionChanged');
|
goog.base(this, 'handleResolutionChanged');
|
||||||
|
// FIXME: resetLayersPane_ should be called
|
||||||
|
// elsewhere as we may be frozen here
|
||||||
this.resetLayersPane_();
|
this.resetLayersPane_();
|
||||||
this.redraw();
|
this.redraw();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user