|
|
@ -40,6 +40,7 @@ export default function OpenStreetMap({ |
|
|
|
markersList, |
|
|
|
clickListener, |
|
|
|
moveEndListener, |
|
|
|
isForm=false |
|
|
|
}) { |
|
|
|
const [mapRef, setMapRef] = useState(null); |
|
|
|
const webviewContent = html_content; |
|
|
@ -82,6 +83,7 @@ export default function OpenStreetMap({ |
|
|
|
injectedJavaScript={viewFunction} |
|
|
|
/> |
|
|
|
)} |
|
|
|
{!isForm && ( |
|
|
|
<View> |
|
|
|
<MapModal |
|
|
|
showModal={markerListener} |
|
|
@ -89,7 +91,7 @@ export default function OpenStreetMap({ |
|
|
|
markers={markersList} |
|
|
|
/> |
|
|
|
<MapDataMenu/> |
|
|
|
</View> |
|
|
|
</View>)} |
|
|
|
</View> |
|
|
|
); |
|
|
|
} |