File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ export type LeafletViewProps = {
4949 zoom ?: number ;
5050 doDebug ?: boolean ;
5151 androidHardwareAccelerationDisabled ?: boolean ;
52+ injectedJavaScript ?: string ;
5253} ;
5354
5455const LeafletView : React . FC < LeafletViewProps > = ( {
@@ -65,6 +66,7 @@ const LeafletView: React.FC<LeafletViewProps> = ({
6566 zoom,
6667 doDebug,
6768 androidHardwareAccelerationDisabled,
69+ injectedJavaScript
6870} ) => {
6971 const webViewRef = useRef < WebView > ( null ) ;
7072 const [ initialized , setInitialized ] = useState ( false ) ;
@@ -219,6 +221,7 @@ const LeafletView: React.FC<LeafletViewProps> = ({
219221 allowUniversalAccessFromFileURLs = { true }
220222 allowFileAccessFromFileURLs = { true }
221223 androidHardwareAccelerationDisabled = { androidHardwareAccelerationDisabled }
224+ injectedJavaScript = { injectedJavaScript }
222225 />
223226 ) ;
224227} ;
You can’t perform that action at this time.
0 commit comments