forked from trent_larson/crowd-funder-for-time-pwa
fix linting
This commit is contained in:
@@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [0.3.43] - 2024.12.30
|
||||
### Added
|
||||
- Projects on a map
|
||||
- Project counts on a map
|
||||
|
||||
|
||||
## [0.3.42] - 2024.12.27 - 9751934bc24a1040415a8cfeacbae59ed91f92a5
|
||||
|
||||
@@ -166,8 +166,10 @@ export default class SearchAreaView extends Vue {
|
||||
// This doesn't seem like the right approach but it's the only way I can find to get the screen bounds.
|
||||
const bounds = event.target.boxZoom?._map?.getBounds();
|
||||
if (bounds) {
|
||||
latDiff = Math.abs(bounds.getNorthEast().lat - bounds.getSouthWest().lat) / 8;
|
||||
longDiff = Math.abs(bounds.getNorthEast().lng - bounds.getSouthWest().lng) / 8;
|
||||
latDiff =
|
||||
Math.abs(bounds.getNorthEast().lat - bounds.getSouthWest().lat) / 8;
|
||||
longDiff =
|
||||
Math.abs(bounds.getNorthEast().lng - bounds.getSouthWest().lng) / 8;
|
||||
}
|
||||
this.localLatDiff = latDiff;
|
||||
this.localLongDiff = longDiff;
|
||||
|
||||
Reference in New Issue
Block a user