-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update cspell custom dictionary * refactor: 🔇 Remove console messages * chore: 🔥 Remove unused files, etc.
- Loading branch information
1 parent
a368034
commit d720039
Showing
5 changed files
with
9 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ nojekyll | |
noopener | ||
noreferrer | ||
NOSONAR | ||
Noto | ||
osmzoom | ||
RDWY | ||
Rrts | ||
|
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
Console("beginOverride.arcade begins") | ||
|
||
Console($feature); | ||
|
||
// Determine if the route segment has an end SRMP attribute. | ||
// Locations located by user click will not have an end SRMP attribute. | ||
// If the end SRMP is greater than the begin SRMP, then the | ||
// mileposts displayed at the route ends need to be reversed. | ||
var showEnd = HasKey($feature, "EndSrmp") && $feature.EndSrmp != null && $feature.Srmp > $feature.EndSrmp; | ||
|
||
// Get the appropriate SRMP and back indicator values based on the showEnd flag. | ||
var srmp = IIf(showEnd, $feature.EndSrmp, $feature.Srmp); | ||
// The Back attribute should always be either a "B" or an empty string. | ||
var back = IIf(showEnd, $feature.EndBack, $feature.Back); | ||
|
||
// Create the label string | ||
var output = `${$feature.Route}\n${Text(srmp, "#.##")}${back}`; | ||
|
||
|
||
|
||
Console("beginOverride.arcade ends") | ||
return output; |
This file was deleted.
Oops, something went wrong.
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
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