[editor] Check OSM max char length in value validation

Signed-off-by: map-per <map-per@gmx.de>
This commit is contained in:
map-per
2025-12-07 13:01:03 +01:00
committed by map-per
parent f20c3bf50c
commit f1cf844986
5 changed files with 47 additions and 7 deletions

View File

@@ -70,6 +70,7 @@ class EditableMapObject : public MapObject
{
public:
static uint8_t constexpr kMaximumLevelsEditableByUsers = 50;
static int constexpr kMaximumOsmChars = 255;
bool IsNameEditable() const;
bool IsAddressEditable() const;