Fix #74: Markers with negative coordinates aren't displayed on the map.

This commit is contained in:
David Molineus
2019-02-13 12:09:40 +01:00
parent d42e0e122f
commit 55e4ed0702
2 changed files with 3 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fix ordering changes in layer control element aren't recognized ([#72](https://github.com/netzmacht/contao-leaflet-maps/issues/72))
- Fix markers with negative coordinates aren't displayed ([#74](https://github.com/netzmacht/contao-leaflet-maps/issues/74))
## [3.1.3] - 2019-01-10

View File

@@ -50,8 +50,8 @@ class MarkerModel extends AbstractActiveModel
[
$table . '.active=1',
$table . '.pid=?',
$table . '.latitude>0',
$table . '.longitude>0',
$table . '.latitude IS NOT NULL',
$table . '.longitude IS NOT NULL',
],
[$pid],
['order' => 'sorting']