Skip to content

Add lines to Mapbox polygons#7069

Merged
grzesiek2010 merged 1 commit intogetodk:v2026.1.xfrom
seadowg:mapbox-lines
Feb 3, 2026
Merged

Add lines to Mapbox polygons#7069
grzesiek2010 merged 1 commit intogetodk:v2026.1.xfrom
seadowg:mapbox-lines

Conversation

@seadowg
Copy link
Member

@seadowg seadowg commented Feb 3, 2026

Mapbox geoshapes were showing without lines (just fill). This adds lines!

Why is this the best possible solution? Were any other approaches considered?

Nothing to discuss.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Only Mapbox is affected.

Before submitting this PR, please make sure you have:

  • added or modified tests for any new or changed behavior
  • run ./gradlew connectedAndroidTest (or ./gradlew testLab) and confirmed all checks still pass
  • added a comment above any new strings describing it for translators
  • added any new strings with date formatting to DateFormatsTest
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

@seadowg seadowg marked this pull request as ready for review February 3, 2026 14:32
@seadowg seadowg requested a review from grzesiek2010 February 3, 2026 15:30
@seadowg seadowg changed the base branch from master to v2026.1.x February 3, 2026 16:41
@grzesiek2010 grzesiek2010 merged commit ead6002 into getodk:v2026.1.x Feb 3, 2026
7 checks passed
@grzesiek2010
Copy link
Member

@seadowg should we file a separate issue to display lines for static polygons as well? I mean those that can be selected, for example, in a 'Select One from Map' question.

@dbemke
Copy link

dbemke commented Feb 4, 2026

@grzesiek2010 I wanted to download the apk but it seems something went wrong - "Pending - Your job is on hold on CircleCI!" https://github.com/getodk/collect/commits/v2026.1.x

@seadowg
Copy link
Member Author

seadowg commented Feb 4, 2026

@dbemke that's running now!

@seadowg seadowg deleted the mapbox-lines branch February 4, 2026 09:13
@dbemke
Copy link

dbemke commented Feb 4, 2026

Tested with Success!

Verified on Android 10

Verified cases:

  • lines in traces and shapes with incremental=true in Mapbox
  • Mapbox- select one from map: points, shapes and traces
  • Mapbox and styling in select one from map
  • selecting points in the form map in Mapbox

@srujner
Copy link

srujner commented Feb 4, 2026

Tested with Success!

Verified on Android 12

@WKobus
Copy link

WKobus commented Feb 4, 2026

Tested with success

Verified on Android 16

seadowg pushed a commit to seadowg/collect that referenced this pull request Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants