if (coords != null) {
Map<String, Object> params = new HashMap<>();
params.put(LayerNodeIndex.POINT_PARAMETER, coords.toArray());
params.put(LayerNodeIndex.DISTANCE_IN_KM_PARAMETER, dist);
LayerNodeIndex spatialIndex = this.getSpatialIndex();
if (spatialIndex != null) {