Skip to content

Commit

Permalink
map working
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavaviram committed Sep 17, 2024
1 parent 6729827 commit 6362182
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 48 deletions.
62 changes: 18 additions & 44 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"react-dom": "^18.2.0",
"react-intl": "^6.6.8",
"react-leaflet": "^4.2.1",
"react-leaflet-markercluster": "^3.0.0-rc1",
"@changey/react-leaflet-markercluster": "^4.0.0-rc1",
"react-share": "^4.4.1",
"sitemap": "^6.4.0",
"universal-fetch": "^1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/DataBrokersList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const DataBrokersDB = ({ classes, dataBrokers }) => {
return (
<div className={classes.container}>
<Paper className={classes.inner}>

<Map dataBrokers={dataBrokers} selectedDataBroker={selectedDataBroker} />
<div className={classes.database}>
<Paper className={classes.searchRoot} id="grid-wrapper" elevation={1}>
<SearchIcon />
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/MainMap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { MapContainer, Marker, Popup, TileLayer, useMap} from 'react-leaflet'
import 'leaflet/dist/leaflet.css'
import { Style as styles } from "./styles";
import { withStyles } from "@material-ui/core/styles";
import MarkerClusterGroup from 'react-leaflet-markercluster';
import MarkerClusterGroup from '@changey/react-leaflet-markercluster';
import CircularProgress from '@material-ui/core/CircularProgress';
import 'react-leaflet-markercluster/dist/styles.min.css';
import '@changey/react-leaflet-markercluster/dist/styles.min.css';
import 'leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css'; // Re-uses images from ~leaflet package
import 'leaflet-defaulticon-compatibility';
import Typography from "@material-ui/core/Typography";
Expand Down

0 comments on commit 6362182

Please sign in to comment.