Closed emig closed 2 years ago
You can test this by either removing the exclude filter, or increasing the accuracy to like 100000 in app/views/nodes/_node_nearby.html.haml
Hum, didn't work with the suggested accuracy changes, seems the node in question doesn't have a region:
Try this:
limit: 10,
- excludeSourceIds: ['LiBTS67TjmBcXdEmX'], // excludes Wheelmap's own PoIs from results
+ //excludeSourceIds: ['LiBTS67TjmBcXdEmX'], // excludes Wheelmap's own PoIs from results
};
@Hoverbear none of the pois on the local db has region
set, so the line I mentioned before won't be active for any poi. https://github.com/sozialhelden/wheelmap/blob/598_mispelling/app/views/nodes/_node_similar.html.haml#L13
@emig I get results doing this.
wasn't ware of the import region rake taks, thanks!
@Hoverbear on a fresh install of the project via vagrant the imported data doesn't contain regions. You can test this then, if you have them.
We are looking for a link like All places of type ... in Berlin
, do you have that? It depends on the POI having a region
Ah, my mistake. I don't see that.
note:
@Hoverbear couldn't get the link on local machine, is it because locally we are missing the region, and therefore we don't have that feature activated? Therefore I couldn't test this fix works ...
closes #598