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 @@ -50,6 +50,7 @@ export type LeafletViewProps = {
5050 doDebug ?: boolean ;
5151 androidHardwareAccelerationDisabled ?: boolean ;
5252 webviewStyle ?: WebViewProps ;
53+ injectedJavaScript ?: string ;
5354} ;
5455
5556const LeafletView : React . FC < LeafletViewProps > = ( {
@@ -67,6 +68,7 @@ const LeafletView: React.FC<LeafletViewProps> = ({
6768 doDebug,
6869 androidHardwareAccelerationDisabled,
6970 webviewStyle,
71+ injectedJavaScript
7072} ) => {
7173 const webViewRef = useRef < WebView > ( null ) ;
7274 const [ initialized , setInitialized ] = useState ( false ) ;
@@ -221,6 +223,7 @@ const LeafletView: React.FC<LeafletViewProps> = ({
221223 allowFileAccessFromFileURLs = { true }
222224 androidHardwareAccelerationDisabled = { androidHardwareAccelerationDisabled }
223225 style = { webviewStyle }
226+ injectedJavaScript = { injectedJavaScript }
224227 />
225228 ) ;
226229} ;
You can’t perform that action at this time.
0 commit comments