Permalink
Browse files

Minor fix for reprojection on map page

  • Loading branch information...
1 parent e83125c commit 08f41df77e3e857318e0934bd84dba4ad00bb79a @petrsloup petrsloup committed Aug 24, 2016
Showing with 65 additions and 65 deletions.
  1. +1 −1 javascript/src/mappage.js
  2. +64 −64 js/map.js
@@ -427,7 +427,7 @@ epsg.io.MapPage.prototype.handleReprojectionConditionsChange_ = function() {
*/
epsg.io.MapPage.prototype.updateMapView_ = function() {
if (this.viewListenKeys_.length) {
- goog.array.forEach(this.viewListenKeys_, goog.events.unlistenByKey);
+ goog.array.forEach(this.viewListenKeys_, ol.Observable.unByKey);
this.viewListenKeys_ = [];
goog.array.forEach(this.viewListenKeysForGmapWrap_,
goog.events.unlistenByKey);
Oops, something went wrong.

0 comments on commit 08f41df

Please sign in to comment.