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

Geojson: fix show=False when not embedding data #1289

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

Conengmo
Copy link
Member

Close #1283.

When we don't embed the data for GeoJson, it's loaded by ajax request. Currently we add the GeoJson layer to the map at the end of that request, but that leads to issues. The layer is unknown when layer control is initialized. Fix this by adding the layer to the map before the ajax request.

@Conengmo
Copy link
Member Author

@ocefpaf this PR is ready to be merged I think, do you want to take a final look? The issue reporter and I both tested it.

@ocefpaf ocefpaf merged commit 690ec2b into python-visualization:master Apr 13, 2020
@Conengmo
Copy link
Member Author

Thanks!

@Conengmo Conengmo deleted the geojson-fix-show branch April 13, 2020 16:41
@ocefpaf
Copy link
Member

ocefpaf commented Apr 13, 2020

Thanks!

Thank you for keeping the boat afloat! Let me know if you want to issue a new release.

@Conengmo
Copy link
Member Author

Will do! I hope to get one or two more fixes in, and then I’ll ping you for a release

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.

GeoJson show arg doesn't work as expected
2 participants