Exports the default locationCount utility method as mapp.ui.utils.locationCount().
- Source
Methods
(inner) locationCount(layer) → {Integer}
Returns a number representing the amount of locations that pass the filter.
Parameters:
Properties| Name | Type | Description |
|---|---|---|
layer | layer |
| Name | Type | Attributes | Description |
|---|---|---|---|
layer.key | String | The layers' identifier. | |
layer.filter | Object | The filter currently active on the layer. | |
layer.mapview | Object | The mapview associated to the layer. | |
layer.queryparams | Object | <optional> | The query parameters that are being used on the layer. |
- Source
Returns:
The number of locations that pass the filter.
- Type:
- Integer