Skip to content

Commit

Permalink
fix(shareMap): inverse visible and invisible layers
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Dec 6, 2017
1 parent 18aa2db commit ce88b6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ table td {
}
iframe {
height: calc(100% - 4px);
width: calc(100% - 4px);
width: 100%;
border: 0;
}
4 changes: 2 additions & 2 deletions src/lib/share-map/shared/share-map.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export class ShareMapService {
return;
}

const visibleKey = this.route.options.visibleOffLayersKey;
const invisibleKey = this.route.options.visibleOnLayersKey;
const visibleKey = this.route.options.visibleOnLayersKey;
const invisibleKey = this.route.options.visibleOffLayersKey;
const layers = map.layers;

const visibleLayers = layers.filter(lay => lay.visible);
Expand Down

0 comments on commit ce88b6b

Please sign in to comment.