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

Ajout d'un appel a setScale pour la carte comparée

parent c66b9328
No related branches found
No related tags found
No related merge requests found
......@@ -530,6 +530,12 @@ nsVmap.nsToolsManager.Print.prototype.printController.prototype.changeScale = fu
// Change la résolution en fonction de l'échelle
oVmap.getMap().setScale(viewScale);
// Change l'échalle de la carte comparée si besoin
if(this.$scope_["$root"]["compare_enabled"]) {
setTimeout(function () {
oVmap.getMapCompare().setScale(oVmap.getMap().getScale());
});
}
};
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment