Skip to content

Commit

Permalink
fix: restore visible prop functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
DonNicoJs committed Feb 9, 2020
1 parent d3a652c commit e02a914
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/LMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,7 @@ export default {
}
},
hideLayer(layer) {
if (layer.layerType !== undefined) {
this.mapObject.removeLayer(layer.mapObject);
}
this.mapObject.removeLayer(layer.mapObject);
},
removeLayer(layer, alreadyRemoved) {
if (layer.layerType !== undefined) {
Expand Down

0 comments on commit e02a914

Please sign in to comment.