I am using Drupal 8.7.7
It seems the bbox contextual filter is not working, but I may be missing something.

Looking at the code, on views_geojson_bbox_argument.inc, I can see the following comment:

@TODO: Delete this file since it's being replaced by src/Plugin/views/argument_default/BBoxQuery.php?

But the code in BBoxQuery.php seems to be never run - and there is nothing related to the bbox argument in the contextual filters.

Am I missing something?

Comments

vdsh created an issue. See original summary.

vdsh’s picture

I deep dived a bit more into it and it couldn't be working. The attached patch allowed me to use the contextual filters to set a bounding box.

bbox

vdsh’s picture

Status: Active » Needs review
vdsh’s picture

Re-rolled with latest dev

vdsh’s picture

I missed one change with the last patch. Here it is

jeffschuler’s picture

Status: Needs review » Closed (duplicate)

Fixed in #2907055: Bounding Box argument now working.

-180º/180º wrapping and any other improvements welcome; please open new issues.

Thanks!!