|
@ -49,7 +49,9 @@ export default function OpenStreetMap({ |
|
|
const [mapRef, setMapRef] = useState(null); |
|
|
const [mapRef, setMapRef] = useState(null); |
|
|
const webviewContent = html_content; |
|
|
const webviewContent = html_content; |
|
|
const [markerListener, setMarkerListener] = useState(null); |
|
|
const [markerListener, setMarkerListener] = useState(null); |
|
|
const viewFunction = setViewCode(global.location.lat, global.location.long, global.location.zoom); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const _location = global.location || global.defaultLocation |
|
|
|
|
|
const viewFunction = setViewCode(_location.lat, _location.long, _location.zoom); |
|
|
|
|
|
|
|
|
const markersList = MapMarkerList({ |
|
|
const markersList = MapMarkerList({ |
|
|
markers: markers, |
|
|
markers: markers, |
|
|