Skip to content

Commit

Permalink
Fixed the map layout
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Jan 16, 2025
1 parent 3922135 commit 4a40592
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/computate/frFR/java/EcrirePageClasse.java
Original file line number Diff line number Diff line change
Expand Up @@ -3804,7 +3804,8 @@ else if(entiteAttribuer) {
auteurPageJs.tl(3, "});");
auteurPageJs.tl(2, "} else {");
auteurPageJs.tl(3, "window.map", classeNomSimple, " = L.map('htmBody", i18nPage.getString(I18n.var_Graphique), i18nPage.getString(I18n.var_Emplacement), classePageNomSimple, "', {");
auteurPageJs.tl(4, "position: 'bottomright'");
auteurPageJs.tl(4, "position: 'topright'");
auteurPageJs.tl(4, ", zoomControl: true");
auteurPageJs.tl(4, ", closePopupOnClick: false");
auteurPageJs.tl(4, ", contextmenu: true");
auteurPageJs.tl(4, ", contextmenuWidth: 140");
Expand All @@ -3817,6 +3818,7 @@ else if(entiteAttribuer) {
auteurPageJs.tl(5, "}");
auteurPageJs.tl(5, "]");
auteurPageJs.tl(3, "});");
auteurPageJs.tl(3, "window.mapCrowdFlowObserved.zoomControl.setPosition('topright');");
auteurPageJs.tl(3, "var data = [];");
auteurPageJs.tl(3, "var layout = {};");
auteurPageJs.tl(3, "layout['showlegend'] = true;");
Expand Down

0 comments on commit 4a40592

Please sign in to comment.