OH-SHOWN / ohshown-frontend

Frontend of OH!SHOWN 野生動物出沒痕跡通報系統 ohshown.site . Built with Vue.js. For backend please checkout https://github.com/OH-SHOWN/ohshown-backend
http://ohshown.site:8080/
4 stars 7 forks source link

fix(map): use canPlace var instead of hard-coded #52

Closed tai271828 closed 2 years ago

tai271828 commented 2 years ago

We already have the default value of canPlaceFactory so we do not need to hard code canPlace. The hard-coded flag may make others confused when maintaining the code in the future.

Issue: #15 PR: #51

tai271828 commented 2 years ago

@yanghaochang104 let me know if this pull request makes sense to you. If not, please feel free to decline it.

yanghaochang104 commented 2 years ago

nice idea!