Skip to content

Commit

Permalink
Map: disable Mapbox RTLTextPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaPeanut committed Dec 13, 2023
1 parent cccea13 commit e4e6821
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/components/forms/LabeledGeometryFieldPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ export const LabeledGeometryFieldPreview: React.FC<Props> = ({ name, hasError })
id="preview"
mapStyle={vectorStyle}
scrollZoom={false}
// @ts-expect-error: See https://github.com/visgl/react-map-gl/issues/2310
RTLTextPlugin={null}
>
<NavigationControl showCompass={false} />
<ScaleControl />
Expand Down

0 comments on commit e4e6821

Please sign in to comment.