Add support for distance filter for the marker layer.

This commit is contained in:
David Molineus
2018-10-30 10:48:38 +01:00
parent 314e2d21ee
commit 2108de32d9
4 changed files with 74 additions and 13 deletions

View File

@@ -185,7 +185,7 @@ class MarkersLayerMapper extends AbstractLayerMapper implements GeoJsonMapper
{
$repository = $this->repositoryManager->getRepository(MarkerModel::class);
if ($model->boundsMode == 'fit') {
if ($model->boundsMode === 'fit') {
return $repository->findByFilter($model->id, $request->getFilter());
}