/* eslint-disable no-unused-vars */ import React from 'react' import { register } from 'swiper/element/bundle' register() import Swiper from 'swiper' // import { Navigation, Pagination } from 'swiper/modules' // import Swiper and modules styles import 'swiper/css' import 'swiper/css/navigation' import 'swiper/css/pagination' import { Button, Card, CardBody } from 'reactstrap' import { useEffect, useState } from 'react' import { FilterAlt, Money, UploadFile } from '@mui/icons-material' // import 'primereact/resources/themes/lara-light-cyan/theme.css' // import PoiInRadiusCenter from "./PoiInRadiusCenter" // import PopUpWilayah from "./PopUpFilter/PoUpWilayah" // import { GeoJSON } from 'react-leaflet' import { useDispatch, useSelector } from 'react-redux' import PopUpWilayah from './PoUpWilayah' import jquery from 'jquery' // import { matoaLayers } from './layers/overlayLayers' import PopUPTematikPembayaran from './PopUPTematikPembayaran' import PopUpRatingGoogle from './PopUpRatingGoogle' // import PoiInRadiusCenter from "./PoiInRadiusCenter" const MenuBawah = (props) => { const { wmsRef, refFeatureBawah, zonaRef, dataSend, setDataSend } = props const [isOpenPopUpWilayah, setIsOpenPopUpWilayah] = useState(false) const [isOpenPopUpPembayaran, setIsOpenPopUpPembayaran] = useState(false) const [isOpenPopUpRating, setIsOpenPopUpRating] = useState(false) // const storeMap = useSelector((state) => state.crmmap) const [dataOpsi, setDataOpsi] = useState({}) // const [filterWilayah, setFilterWilayah] = useState('(1=1)') useEffect(() => { new Swiper('.swiper', { slidesPerView: 4, grid: { rows: 0 }, mousewheel: { forceToAxis: false }, focusableElements: true, allowTouchMove: true }) }, []) const onClickWilayah = (e) => { // console.log(e.target) setIsOpenPopUpWilayah(true) } const onClickRatingUlasan = (e) => { // console.log(e) setIsOpenPopUpRating(true) } const dispatch = useDispatch() useEffect(() => { jquery.getJSON('/engineN/kewilayahan/ref/opsi').then((response) => { setDataOpsi(response) dispatch(setSelectedOpsi(response.default)) }) }, []) const onClick = () => {} return ( <>
onClick(e)}> {/* */} {/* */} {/* */} {/* */}
) } export default MenuBawah