diff --git a/client/package.json b/client/package.json
index ee2c381d6..1e5432e1e 100644
--- a/client/package.json
+++ b/client/package.json
@@ -43,6 +43,7 @@
"leaflet": "^1.7.1",
"leaflet.markercluster": "^1.4.1",
"mini-css-extract-plugin": "^1.3.9",
+ "nodes2ts": "^2.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-hot-loader": "^4.13.0",
@@ -50,7 +51,6 @@
"react-leaflet-markercluster": "^3.0.0-rc1",
"react-router-dom": "^5.2.0",
"sass-loader": "^11.0.1",
- "source-map-loader": "^2.0.1",
"style-loader": "^2.0.0",
"webpack": "^5.24.3",
"webpack-cli": "^4.5.0",
diff --git a/client/src/components/MapTiles.jsx b/client/src/components/MapTiles.jsx
index 155508ed8..c79dc5d1b 100644
--- a/client/src/components/MapTiles.jsx
+++ b/client/src/components/MapTiles.jsx
@@ -7,11 +7,18 @@ import Pokemon from './pokemon/Pokemon.jsx'
import Nav from './layout/Nav.jsx'
import Spawnpoint from './spawnpoints/Spawnpoint.jsx'
import Portal from './portals/Portal.jsx'
+import Weather from './weather/Weather.jsx'
const MapTiles = ({ map, settings }) => {
const [bounds, setBounds] = useState({
- _southWest: { lat: 0, lng: 0 },
- _northEast: { lat: 0, lng: 0 }
+ _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
+ }
})
const [selected, setSelected] = useState({
gyms: settings.map.filters.gyms,
@@ -53,6 +60,7 @@ const MapTiles = ({ map, settings }) => {
{selected.pokemon && }
{selected.portals && }
{selected.spawnpoints && }
+ {selected.weather && }