Skip to content

Commit

Permalink
Quickfix (#541)
Browse files Browse the repository at this point in the history
* refactor(demo) search with touch screen inverted.

* refactor(coordinate) lint
  • Loading branch information
pelord authored and mbarbeau committed Dec 20, 2019
1 parent 0e009b1 commit 9219a5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/src/app/geo/search/search.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
See search section of the <a href="https://github.com/infra-geo-ouverte/igo2-lib/tree/master/demo/src/environments"> environment config</a>
<hr>
<br>
<span *ngIf="isTouchScreen" title="Details">
<span *ngIf="!isTouchScreen" title="Details">
You can trigger the seach by coordinate by holding the CRTL key down while moving your cursor (on desktop). Don't
forget to focus on map before.
<br>
<br>
F2 activate/desactivate the pointer location.
F2 activate/desactivate the pointer location.
</span>
</mat-card-content>

Expand Down
2 changes: 1 addition & 1 deletion packages/geo/src/lib/search/shared/sources/coordinates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class CoordinatesReverseSearchSource extends SearchSource

const coordKey = this.languageService.translate.instant('igo.geo.search.coordinates.coord');
const coordLonLat = {};
coordLonLat[coordKey]= roundedCoordString;
coordLonLat[coordKey] = roundedCoordString;

return {
source: this,
Expand Down

0 comments on commit 9219a5e

Please sign in to comment.