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

Added support for customizing tooltip #366

Merged
merged 1 commit into from
Feb 15, 2023
Merged

Added support for customizing tooltip #366

merged 1 commit into from
Feb 15, 2023

Conversation

giswqs
Copy link
Member

@giswqs giswqs commented Feb 15, 2023

This PR adds support for customizing tootip for vector data, addressing #365.

Customize the fields parameter.

import leafmap.foliumap as leafmap
data = leafmap.examples.datasets.countries_geojson
m = leafmap.Map()
m.add_data(
    data, column='POP_EST', scheme='Quantiles', cmap='Blues', legend_title='Population', fields=['NAME', 'POP_EST']
)
m

Peek 2023-02-15 16-37

@giswqs giswqs merged commit d70753f into master Feb 15, 2023
@giswqs giswqs deleted the popup branch February 15, 2023 21:39
sthagen pushed a commit to sthagen/giswqs-leafmap that referenced this pull request Jul 10, 2024
kuzja111 pushed a commit to kuzja111/leafmap that referenced this pull request Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant