Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/internal/DataPool/plugins/GeoPosRegion.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,19 @@ export default class GeoPosRegion extends BLOCKvRegion {
// Pause websocket events
this.pauseMessages()


let payload = {
top_right: this.coordinates.top_right,
bottom_left: this.coordinates.bottom_left,
filter: 'all',
limit: 10000
}

// look for geohash coords
if(this.coordinates?.geohash)
payload['geohash'] = this.coordinates.geohash


if (this.coordinates.publisher_fqdn)
payload['publisher_fqdn'] = this.coordinates.publisher_fqdn
// Fetch data
Expand Down