-
Notifications
You must be signed in to change notification settings - Fork 695
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
[SEDONA-558] Fix and improve SedonaPyDeck behavior #1415
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this PR changing these files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to add some test cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this PR changing these files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are phony changes, these changes have been merged before.
To test if the API key has been added successfully is not possible. However, I can add tests for other behavior changes. |
* fix: python dataframe API constructor Function registrations * fix: SedonaPyDeck behavior as per expectation * docs: update docs * docs: update docs 2 * chore: add test for SedonaPyDeck * chore: add test for SedonaPyDeck 2
Did you read the Contributor Guide?
Is this PR related to a JIRA ticket?
[SEDONA-XXX] my subject
Description
Current implementation
Adds the optional parameters
map_style
, andmap_provider
as data members to the pdk map object.eg: map_p.map_style = map_style
The current behavior of PyDeck doesn't update the map object with the additional configuration added via data members.
Behavior of PyDeck
map_style
is 'dark' andmap_provider
is 'carto'. If you configuremap_style
to 'satellite' it will not change themap_provider
to Mapbox or Google Maps API.What changes were proposed in this PR?
api_key
parameter of PyDeckmap_style
is set to 'satellite' and ifmap_provider
is Carto (the default).How was this patch tested?
Did this PR include necessary documentation updates?