import {MapContainer, TileLayer} from 'react-leaflet';
import MapController from './MapController';
import MapWrapper from './MapWrapper';
import useMapStore from '../../stores/useMapStore';
import Bounds from './Bounds';
const TOKEN_FREE_TILES_URL =
process.env.TOKEN_FREE_TILES_URL ||
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
const TOKEN_FREE_TILES_LAYER_ATTRIBUTION =
process.env.TOKEN_FREE_TILES_LAYER_ATTRIBUTION ||
'© OpenStreetMap contributors';
const Map = () => {
const markers = useMapStore(s => s.markers);
return (
{markers}
);
};
export default Map;