diff --git a/client/src/components/MapTiles.jsx b/client/src/components/MapTiles.jsx index c79dc5d1b..66921d38f 100644 --- a/client/src/components/MapTiles.jsx +++ b/client/src/components/MapTiles.jsx @@ -8,16 +8,17 @@ import Nav from './layout/Nav.jsx' import Spawnpoint from './spawnpoints/Spawnpoint.jsx' import Portal from './portals/Portal.jsx' import Weather from './weather/Weather.jsx' +import S2Cell from './s2Cell/S2Cell.jsx' const MapTiles = ({ map, settings }) => { const [bounds, setBounds] = useState({ - _southWest: { - lat: settings.map.startLat-0.025, - lng: settings.map.startLon-0.025 + _southWest: { + lat: settings.map.startLat - 0.025, + lng: settings.map.startLon - 0.025 }, - _northEast: { - lat: settings.map.startLat+0.025, - lng: settings.map.startLon+0.025 + _northEast: { + lat: settings.map.startLat + 0.025, + lng: settings.map.startLon + 0.025 } }) const [selected, setSelected] = useState({ @@ -59,6 +60,7 @@ const MapTiles = ({ map, settings }) => { {selected.pokestops && } {selected.pokemon && } {selected.portals && } + {selected.s2Cells && } {selected.spawnpoints && } {selected.weather && }