-
Notifications
You must be signed in to change notification settings - Fork 4k
[Payment due @dukenv0307] Update map markers and route styles #90169
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
Merged
Valforte
merged 21 commits into
Expensify:main
from
software-mansion-labs:@GCyganek/update-map-markers-and-line
May 25, 2026
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
eb48d40
Update map markers and route styles
GCyganek 1cf7444
Remove useTheme() that is not used
GCyganek 1b8e5d6
Fix ESlint
GCyganek e0254ee
Use React components to support drop shadow for map icons
GCyganek cedd7a4
MapCurrentLocation import
GCyganek bbc71da
Add comment and delete svgs
GCyganek 8a331fa
Merge branch 'main' into @GCyganek/update-map-markers-and-line
GCyganek 0e37fbf
Restore original floodOpacity
GCyganek 6d5c114
useMapMarkers
GCyganek 222382e
Use .svg on web and .tsx for RN
GCyganek f048d98
Fix imports
GCyganek f84b3ef
Fix comment
GCyganek 21b7bd5
Use .tsx on all devices, fix problem with duplicated ids on web
GCyganek 882bdf1
Merge branch 'main' into @GCyganek/update-map-markers-and-line
GCyganek dbc77a7
Fix Mobile-Expensify conflict
GCyganek afa4d7c
Merge branch 'main' into @GCyganek/update-map-markers-and-line
GCyganek 6324485
Do not display current user's location on ConfirmedRoute
GCyganek 3ce77b4
sourceId
GCyganek c12ba83
Fix shouldPanMapToCurrentPosition
GCyganek 2a2206c
MapMarkerShadowFilter
GCyganek 0dd6b33
Add React import
GCyganek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,36 @@ | ||
| import React, {useId} from 'react'; | ||
| import {G, Path, Svg} from 'react-native-svg'; | ||
| import type {SvgProps} from 'react-native-svg'; | ||
| import MapMarkerShadowFilter from './MapMarkerShadowFilter'; | ||
|
|
||
| function MapCurrentLocation({width = 48, height = 48}: SvgProps) { | ||
| const filterId = useId(); | ||
| return ( | ||
| <Svg | ||
| width={width} | ||
| height={height} | ||
| viewBox="0 0 48 48" | ||
| fill="none" | ||
| > | ||
| <MapMarkerShadowFilter | ||
| id={filterId} | ||
| width="48" | ||
| height="48" | ||
| /> | ||
| <G filter={`url(#${filterId})`}> | ||
| <Path | ||
| fill="#0185ff" | ||
| d="M36 20c0 6.627-5.373 12-12 12s-12-5.373-12-12S17.373 8 24 8s12 5.373 12 12" | ||
| /> | ||
| <Path | ||
| fill="#fcfbf9" | ||
| fillRule="evenodd" | ||
| clipRule="evenodd" | ||
| d="M24 8c6.627 0 12 5.373 12 12s-5.373 12-12 12-12-5.373-12-12S17.373 8 24 8m0 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18" | ||
| /> | ||
| </G> | ||
| </Svg> | ||
| ); | ||
| } | ||
|
|
||
| export default MapCurrentLocation; | ||
This file contains hidden or 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,33 @@ | ||
| import React from 'react'; | ||
| import {Defs, FeDropShadow, Filter} from 'react-native-svg'; | ||
|
|
||
| type MapMarkerShadowFilterProps = { | ||
| id: string; | ||
| width: string; | ||
| height: string; | ||
| }; | ||
|
|
||
| function MapMarkerShadowFilter({id, width, height}: MapMarkerShadowFilterProps) { | ||
| return ( | ||
| <Defs> | ||
| <Filter | ||
| id={id} | ||
| x="0" | ||
| y="0" | ||
| width={width} | ||
| height={height} | ||
| filterUnits="userSpaceOnUse" | ||
| > | ||
| <FeDropShadow | ||
| dx={0} | ||
| dy={4} | ||
| stdDeviation={6} | ||
| floodColor="#021204" | ||
| floodOpacity={0.06} | ||
| /> | ||
| </Filter> | ||
| </Defs> | ||
| ); | ||
| } | ||
|
|
||
| export default MapMarkerShadowFilter; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.