Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too close of Points will not show tiles on init until zoom out #744

Closed
ahuang11 opened this issue Sep 8, 2024 · 0 comments · Fixed by #745
Closed

Too close of Points will not show tiles on init until zoom out #744

ahuang11 opened this issue Sep 8, 2024 · 0 comments · Fixed by #745

Comments

@ahuang11
Copy link
Collaborator

ahuang11 commented Sep 8, 2024

import pandas as pd
# import hvplot.pandas

data = {
    'lon': [108.974814, 108.974814, 108.974814, 108.974814, 108.974814],
    'lat': [34.076126, 34.076126, 34.076126, 34.076126, 34.076126],
}

temp_df = pd.DataFrame(data)

# temp_df.hvplot.points('lon', 'lat', geo=True, tiles=True, frame_width=700)

import geoviews as gv


gv.Points(temp_df, ["lon", "lat"], []) * gv.tile_sources.OSM()

Initially:
image

On zoom out:
image

This can be misleading users that tiles do not work.

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

Successfully merging a pull request may close this issue.

1 participant