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
|
## [0.3.43] - 2024.12.30
|
||||||
### Added
|
### Added
|
||||||
- Projects on a map
|
- Project counts on a map
|
||||||
|
|
||||||
|
|
||||||
## [0.3.42] - 2024.12.27 - 9751934bc24a1040415a8cfeacbae59ed91f92a5
|
## [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.
|
// 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();
|
const bounds = event.target.boxZoom?._map?.getBounds();
|
||||||
if (bounds) {
|
if (bounds) {
|
||||||
latDiff = Math.abs(bounds.getNorthEast().lat - bounds.getSouthWest().lat) / 8;
|
latDiff =
|
||||||
longDiff = Math.abs(bounds.getNorthEast().lng - bounds.getSouthWest().lng) / 8;
|
Math.abs(bounds.getNorthEast().lat - bounds.getSouthWest().lat) / 8;
|
||||||
|
longDiff =
|
||||||
|
Math.abs(bounds.getNorthEast().lng - bounds.getSouthWest().lng) / 8;
|
||||||
}
|
}
|
||||||
this.localLatDiff = latDiff;
|
this.localLatDiff = latDiff;
|
||||||
this.localLongDiff = longDiff;
|
this.localLongDiff = longDiff;
|
||||||
|
|||||||
Reference in New Issue
Block a user