Checkboxen switch
This commit is contained in:
@@ -910,7 +910,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
|
||||
//-------------------------------------------------------------------------------------------------------------------------
|
||||
//GMA Layer
|
||||
const [layerGMA, setLayerGMA] = useState([]);
|
||||
const [showGMA, setShowGMA] = useState(false);
|
||||
const [showGMA, setShowGMA] = useState(true);
|
||||
useEffect(() => {
|
||||
if (!map || !GisStationsStaticDistrict) return;
|
||||
|
||||
@@ -977,7 +977,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
|
||||
//-------------------------------------------------------------------------------------------------------------------------
|
||||
//TALAS Layer
|
||||
const [layerTALAS, setLayerTALAS] = useState([]);
|
||||
const [showTALAS, setShowTALAS] = useState(false);
|
||||
const [showTALAS, setShowTALAS] = useState(true);
|
||||
useEffect(() => {
|
||||
if (!map || !GisStationsStaticDistrict) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user