matchPointRadiusInMiles method

LogicalChannel matchPointRadiusInMiles({
  1. required double longitude,
  2. required double latitude,
  3. required double radius,
})
inherited

Matches against the place.geo.coordinates object of the Tweet when present, and in Twitter, against a place geo polygon, where the Place polygon is fully contained within the defined region.

This method specifies the Radius value in miles. Use matchPointRadiusInKilometers to specify the value in kilometers.

  • Radius must be less than 25mi
  • Longitude is in the range of ±180
  • Latitude is in the range of ±90
  • All coordinates are in decimal degrees
  • Rule arguments are contained within brackets, space delimited

You can only pass a single geo polygon per this operator.

Note: This operator will not match on Retweets, since Retweet's places are attached to the original Tweet. It will also not match on places attached to the original Tweet of a Quote Tweet.

Parameters

  • longitude: Longitude to be matched.

  • latitude: Latitude to be matched.

  • radius: Radius to be matched.

Type

Availability

  • Elevated

Implementation

LogicalChannel matchPointRadiusInMiles({
  required double longitude,
  required double latitude,
  required double radius,
}) =>
    _buffer.appendOperator(
      _standaloneOperation.createPointRadius(
        DistanceUnit.miles,
        longitude,
        latitude,
        radius,
      ),
    );