Skip to content

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

@IKupriyanov-HORIS

Description

@IKupriyanov-HORIS
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

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