mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
Fix #74: Markers with negative coordinates aren't displayed on the map.
This commit is contained in:
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fix ordering changes in layer control element aren't recognized ([#72](https://github.com/netzmacht/contao-leaflet-maps/issues/72))
|
- 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
|
## [3.1.3] - 2019-01-10
|
||||||
|
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ class MarkerModel extends AbstractActiveModel
|
|||||||
[
|
[
|
||||||
$table . '.active=1',
|
$table . '.active=1',
|
||||||
$table . '.pid=?',
|
$table . '.pid=?',
|
||||||
$table . '.latitude>0',
|
$table . '.latitude IS NOT NULL',
|
||||||
$table . '.longitude>0',
|
$table . '.longitude IS NOT NULL',
|
||||||
],
|
],
|
||||||
[$pid],
|
[$pid],
|
||||||
['order' => 'sorting']
|
['order' => 'sorting']
|
||||||
|
|||||||
Reference in New Issue
Block a user