Skip to content

Commit

Permalink
ui(geo): minors fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Sep 25, 2019
1 parent 6af0c94 commit d9cdc7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/geo/src/lib/print/shared/print.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export class PrintService {
}
const scaleText = translate.instant('igo.geo.printForm.scale');
const mapScale = map.viewController.getScale(dpi);
textProjScale += scaleText + ': ~ 1 ' + formatScale(mapScale);
textProjScale += scaleText + ': ~ 1 / ' + formatScale(mapScale);
}
doc.setFont('courier');
doc.setFontSize(projScaleSize);
Expand Down Expand Up @@ -493,7 +493,7 @@ export class PrintService {
const mapScale = map.viewController.getScale(resolution);
newContext.textAlign = 'start';
newContext.fillText(
scaleText + ': ~ 1 : ' + formatScale(mapScale),
scaleText + ': ~ 1 / ' + formatScale(mapScale),
positionWProjScale,
positionHProjScale
);
Expand Down
2 changes: 1 addition & 1 deletion packages/geo/src/lib/search/shared/sources/icherche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export class IChercheReverseSearchSource extends SearchSource
enabled: true
},
{
title: 'mrc',
title: 'MRC',
value: 'mrc',
enabled: true
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[expandLegendOfVisibleLayers]="expandLegendOfVisibleLayers"
[toggleLegendOnVisibilityChange]="toggleLegendOnVisibilityChange"
[updateLegendOnResolutionChange]="updateLegendOnResolutionChange"
[floatLabel]="false"
floatLabel="never"
[queryBadge]="queryBadge">

<ng-template #igoLayerItemToolbar let-layer="layer">
Expand Down

0 comments on commit d9cdc7d

Please sign in to comment.