Skip to content

Commit

Permalink
fix error messages on file pane for aggregate-od thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
billyc committed Mar 29, 2022
1 parent 2df34a6 commit fd167ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/aggregate-od/AggregateOd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,9 @@ class MyComponent extends Vue {
if (this.mymap.getLayer('centroid-layer')) this.mymap.removeLayer('centroid-layer')
if (this.mymap.getLayer('centroid-label-layer')) this.mymap.removeLayer('centroid-label-layer')
if (this.showCentroids && !this.thumbnail) {
if (this.showCentroids) {
this.mymap.addLayer({
layout: { visibility: this.thumbnail ? 'none' : 'visible' },
id: 'centroid-layer',
source: 'centroids',
type: 'circle',
Expand Down

0 comments on commit fd167ad

Please sign in to comment.