Uploaded image for project: 'Apache Sedona'
  1. Apache Sedona
  2. SEDONA-558

Fix and improve SedonaPyDeck behavior

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.1

    Description

      Current implementation

      • Adds the optional parameters map_style, and map_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

      • The default map_style is 'dark' and map_provider is 'carto'. If you configure map_style to 'satellite' it will not change the map_provider to Mapbox or Google Maps API.

      Changes

      • Expose api_key parameter of PyDeck
      • Create a new method to create the PyDeck object to handle the default behavior of PyDeck.
      • Default to Mapbox map provider if the map_style is set to 'satellite' and if map_provider is Carto (the default).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              furqaan Furqaan Khan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m