Skip to content

Not able to hide marker #197

@jesperlandmer

Description

@jesperlandmer

The code example/documentation for scatter plots does not behave as it should. Setting markers to False is ignored, and the marker is still shown:

attractions = zip(*[
    (37.769901, -122.498331),
    (37.768645, -122.475328),
    (37.771478, -122.468677),
    (37.769867, -122.466102),
    (37.767187, -122.467496),
    (37.770104, -122.470436)
])

gmap.scatter(
    *attractions,
    color=['red', 'orange', 'yellow', 'green', 'blue', 'purple'],
    s=60,
    ew=2,
    marker=[True, True, False, True, False, False],
    symbol=[None, None, 'o', None, 'x', '+'],
    title=['First', 'Second', None, 'Third', None, None],
    label=['A', 'B', 'C', 'D', 'E', 'F']
)

gmap.draw('map.html')
Screenshot 2023-08-23 at 22 21 24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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