Skip to content
Snippets Groups Projects
Commit 3493d34c authored by Armand Bahi's avatar Armand Bahi
Browse files

Amélioration de la synchronisation des cartes de comparaison

Fix #20
parent 6ef5abbd
Branches
Tags
No related merge requests found
......@@ -577,7 +577,7 @@ nsVmap.MapCompare.prototype.mapCompareController.prototype.synchronizeMap = func
var this_ = this;
// Synchro Échelle
oVmap.getMap().getOLMap().getTargetElement().addEventListener('mouseenter', function(){
this_.map.getTargetElement().addEventListener('mouseleave', function(){
oVmap.getMap().getOLMap().on("moveend", this_.updateCompareScaleMap, this_);
this_.map.un("moveend", this_.updateScaleMap, this_);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment