Skip to content

Static Maps: Numeric label raises a ValueError #373

@dthid32

Description

@dthid32

A numeric (string) label should be supported (ex: '1') when creating a StaticMapMarker. However, an error is raised because of the line "if len(label) != 1 or not label.isupper() or not label.isalnum()" at line 78 (file maps.py).

The test label.isupper() returns false for '1', but it's a valid label.

Metadata

Metadata

Assignees

Labels

releasedtriage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions