Skip to content

Commit 83c900b

Browse files
fix RN Map component (#396)
* fix RN Maps component * Revert onRegionDidChange --------- Co-authored-by: Jason Liu <jason.liu@radar.com>
1 parent bd36bf5 commit 83c900b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ui/map.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ const RadarMap = ({ mapOptions, children }) => {
106106
logoEnabled={false}
107107
attributionEnabled
108108
onRegionDidChange={mapOptions?.onRegionDidChange ? mapOptions.onRegionDidChange : null}
109-
styleURL={styleURL}
110-
>
109+
mapStyle={styleURL}>
111110
{userLocationMapIndicator}
112111
{children}
113112
</MapLibreGL.MapView>

0 commit comments

Comments
 (0)