mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 04:54:18 +00:00
🐛 Fix coordinates error
This commit is contained in:
parent
72868d8574
commit
fa4625011d
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ import {
|
||||||
faLocationArrow,
|
faLocationArrow,
|
||||||
faMapMarkerAlt, faRetweet,
|
faMapMarkerAlt, faRetweet,
|
||||||
} from "@fortawesome/free-solid-svg-icons"
|
} from "@fortawesome/free-solid-svg-icons"
|
||||||
|
import Coordinates from "./Coordinates"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -184,7 +185,7 @@ export class FilterInsideMapArea extends FilterWithLocation {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.mapArea.includes(tweet.location)
|
return this.mapArea.includes(Coordinates.fromCrawlerString(tweet.location))
|
||||||
}
|
}
|
||||||
|
|
||||||
display() {
|
display() {
|
||||||
|
|
Loading…
Reference in a new issue