-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Distinguish between stop and stations icons Bus/ferry stops are now displayed separately from rail stations, with a different icon, and different behavior at different zoom levels. This also includes quite a bit of refactoring around how the sources and layers are being created, they're each moved out into a class, plus another class for adding sources, layers, and images to the map. * test: Add tests for source generators * test: Add tests for layer generators * test: Fix android tests * refactor: Use Mapbox expression for stop icons * test: Fix test * fix: Remove irrelevant layer property
- Loading branch information
Showing
29 changed files
with
1,043 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
iosApp/iosApp/Assets.xcassets/bus-stop-small.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"images": [ | ||
{ | ||
"filename": "bus-stop-small.svg", | ||
"idiom": "universal", | ||
"scale": "1x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "2x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "3x" | ||
} | ||
], | ||
"info": { | ||
"author": "xcode", | ||
"version": 1 | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
iosApp/iosApp/Assets.xcassets/bus-stop-small.imageset/bus-stop-small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion
2
...ts.xcassets/t-logo.imageset/Contents.json → ....xcassets/bus-stop.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
iosApp/iosApp/Assets.xcassets/bus-stop.imageset/bus-stop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions
7
iosApp/iosApp/Assets.xcassets/t-logo.imageset/mbta-logo-t.svg
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
iosApp/iosApp/Assets.xcassets/t-station.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"images": [ | ||
{ | ||
"filename": "t-station.svg", | ||
"idiom": "universal", | ||
"scale": "1x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "2x" | ||
}, | ||
{ | ||
"idiom": "universal", | ||
"scale": "3x" | ||
} | ||
], | ||
"info": { | ||
"author": "xcode", | ||
"version": 1 | ||
} | ||
} |
Oops, something went wrong.