Skip to content

Commit bfe697a

Browse files
committed
Remove filters from map tap nearby plot request
The /location/lat,lng/plots API endpoint ignores any filters that are passed along with the request: https://github.com/OpenTreeMap/otm-core/blob/983ffcdb0a226fc9bd6ab1fc3e3f42e47ed9e5ba/opentreemap/api/plots.py#L39 The filters have been ignored since the initial creation of the OTM2 API endpoint. OpenTreeMap/otm-core@b25c3b9
1 parent fe154cf commit bfe697a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

OpenTreeMap/src/OTM/Controllers/OTMMapViewController.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,6 @@ - (void)selectTreeNearCoordinate:(CLLocationCoordinate2D)coordinate
613613
[[[OTMEnvironment sharedEnvironment] api] getPlotsNearLatitude:coordinate.latitude
614614
longitude:coordinate.longitude
615615
user:loginManager.loggedInUser
616-
filters:self.filters
617616
callback:^(NSArray* plots, NSError* error)
618617
{
619618
if ([plots count] == 0) { // No plots returned

0 commit comments

Comments
 (0)