diff --git a/client/src/components/MapTiles.jsx b/client/src/components/MapTiles.jsx index 1c331086d..5476b9c2a 100644 --- a/client/src/components/MapTiles.jsx +++ b/client/src/components/MapTiles.jsx @@ -1,5 +1,6 @@ import React, { useState, useEffect, useCallback } from 'react' import { TileLayer, ZoomControl } from 'react-leaflet' +import Device from './devices/Device.jsx' import Gym from './gyms/Gym.jsx' import Pokestop from './pokestops/Pokestop.jsx' import Pokemon from './pokemon/Pokemon.jsx' @@ -12,19 +13,19 @@ const MapTiles = ({ map, settings }) => { }) const [position, setPosition] = useState({}) const [selected, setSelected] = useState({ - Gyms: true, + Gyms: false, Raids: false, Pokestops: false, Quests: false, Invasions: false, Spawnpoints: false, - Pokemon: true, + Pokemon: false, IngressPortals: false, ScanCells: false, S2Cells: false, Weather: false, ScanAreas: false, - Devices: false + Devices: true }) const onMove = useCallback(() => { @@ -52,6 +53,7 @@ const MapTiles = ({ map, settings }) => { {selected.Gyms && } {selected.Pokestops && } {selected.Pokemon && } + {selected.Devices && }