mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 06:24:19 +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,
|
||||
faMapMarkerAlt, faRetweet,
|
||||
} from "@fortawesome/free-solid-svg-icons"
|
||||
import Coordinates from "./Coordinates"
|
||||
|
||||
|
||||
/**
|
||||
|
@ -184,7 +185,7 @@ export class FilterInsideMapArea extends FilterWithLocation {
|
|||
return false
|
||||
}
|
||||
|
||||
return this.mapArea.includes(tweet.location)
|
||||
return this.mapArea.includes(Coordinates.fromCrawlerString(tweet.location))
|
||||
}
|
||||
|
||||
display() {
|
||||
|
|
Loading…
Reference in a new issue