Skip to content

Livemap: Point tooltips are anchored to the leftmost instance of the world copy during wrapping #1448

Description

from lets_plot import *
LetsPlot.setup_html()

data = {
    'lon': [10.014145],
    'lat': [46.036282],
    'label': ['Bergamo Alps']
}
ggplot(data, aes(x='lon', y='lat')) + \
    geom_livemap(zoom=1, location=[170, 0]) + geom_point(tooltips=layer_tooltips().line('@label')) + \
    ggsize(800, 400)

The cursor is hovering over the rightmost marker:
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions