Are you using the official version without any modifications to the code or configuration?
Да Антон. Конечно! Ведь Вы же нам этот сервер устанавливали и брендировали 22.07.2023.
Never seen errors like that. Can you provide the geofence area value?
If we get geofences using the API, we get this:
In test format it looks like this:
6 => array:6 [
"id" => 49
"attributes" => array:1 ["color" => "#082AF7"]
"calendarId" => 0
"name" => "Русановка 2"
"description" => "Тестовая геозона."
"area" => "POLYGON ((50.445460926078000 30.591012239456000, 50.445542913081000 30.593115091324000, 50.444108120021000 30.596441030502000, 50.443834821172000 30.597234964371000, 50.441908019505000 30.604895353317000, 50.438969837589000 30.607942342758000, 50.438641843175000 30.607920885086000, 50.438286513328000 30.607556104660000, 50.438122514038000 30.607255697250000, 50.433038254202000 30.595239400864000, 50.432983581774000 30.594745874405000, 50.433120262726000 30.592750310898000, 50.438819507098000 30.591870546341000))"
]
7 => array:6 [
"id" => 50
"attributes" => []
"calendarId" => 0
"name" => "Прямоугольник"
"description" => ""
"area" => "POLYGON ((50.427584368557000 30.592406988144000, 50.422075169661000 30.592406988144000, 50.422075169661000 30.604101419449000, 50.427584368557000 30.604101419449000))"
]
Where id = 49, this is the geofence discussed above.
The geofence under id=50 is displayed even more strangely. On the geofencing settings page it looks like this at any resolution:
And on the main screen it’s reduced like this:
And enlarged like this:
Подозреваю что проблема потому что у вас полигоны не замыкаются. Последняя точка должна совпадать с первой.
Спасибо за подсказку! Проверю и отпишусь.
Спасибо, Антон, большое! Действительно, проблема была в том, что я по API передавал координаты без последней точки (которая должна была совпадать с первой).
When creating a geofence in the settings, it is displayed correctly at any magnification, although it is not painted in the specified color:
If you look at the same geofence on the main screen, it is displayed incorrectly. Moreover, at different magnifications, the display error manifests itself in different ways.
Has anyone encountered this? Can it be fixed?