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

Use synchronous ajax in GeoJson #1353

Merged
merged 2 commits into from
Jun 18, 2020

Conversation

Conengmo
Copy link
Member

@Conengmo Conengmo commented Jun 13, 2020

Close #1209

Two earlier PRs did conflicting changes: #1190 (merged July 2019) and #1289 (merged April 2020) are at odds with each other. This PR tries to resolve that.

Two requirements:

  • Add the GeoJson JS object to its parent after loading the data.
  • Add the GeoJson JS object to its parent before continuing with the rest of the code.

Two make both requirements come true we'll have to make the ajax request that loads the geojson data synchronously.

I added a test case that verifies both requirements are satisfied.

@Conengmo Conengmo added the waiting for changes This PR has been reviewed and changes are needed before merging label Jun 13, 2020
@Conengmo Conengmo added ready PR is ready for merging and removed waiting for changes This PR has been reviewed and changes are needed before merging labels Jun 14, 2020
@Conengmo Conengmo merged commit 46f820e into python-visualization:master Jun 18, 2020
@Conengmo Conengmo deleted the ajax-sync branch June 18, 2020 06:38
@Conengmo Conengmo removed the ready PR is ready for merging label Jun 18, 2020
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.

Combining GeoJson markers in a MarkerCluster shows unclustered markers
1 participant