|
|
@@ -1,13 +1,13 @@
|
|
|
import React, { Component } from 'react';
|
|
|
import ContentWrapper from '@/components/Layout/ContentWrapper';
|
|
|
-
|
|
|
+import { jumlahLaporan } from "@/actions/pelaporan";
|
|
|
import VectorMap from '@/components/Maps/VectorMap';
|
|
|
import { Container, Row, Col, Card, CardHeader, CardBody } from "reactstrap";
|
|
|
|
|
|
const defaultColors = {
|
|
|
markerColor: '#f20226',
|
|
|
bgColor: 'transparent',
|
|
|
- scaleColors: ['#3E3A8E'],
|
|
|
+ scaleColors: ["#146804", "#ff0000"],
|
|
|
regionFill: '#bbbec6'
|
|
|
};
|
|
|
|
|
|
@@ -48,7 +48,6 @@ const RegionValues = {
|
|
|
'ID_st': 16,
|
|
|
'ID_sa': 16,
|
|
|
}
|
|
|
-
|
|
|
const LLDIKTI = {
|
|
|
'ID_su': '<h5>LLDIKTI Wilayah I</h5>',
|
|
|
'ID_ss': '<h5>LLDIKTI Wilayah II</h5>',
|
|
|
@@ -149,12 +148,10 @@ class Maps extends Component {
|
|
|
}
|
|
|
},
|
|
|
onRegionLabelShow: (e, el, code) => {
|
|
|
- if (RegionValues[code])
|
|
|
- el.html(LLDIKTI[code] + el.html() + ' : ' + RegionValues[code] + ' pelaporan');
|
|
|
+ el.html(LLDIKTI[code] + el.html() + ' : ' + RegionValues[code] + ' pelaporan');
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
render() {
|
|
|
return (
|
|
|
<Card className="card-default">
|