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