diff --git a/package.json b/package.json index 62ce4ca..0e0e299 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "interactjs": "^1.10.11", "jspdf": "^2.5.1", "jspdf-autotable": "^3.5.25", - "leaflet": "^1.7.1", + "leaflet": "^1.8.0", "leaflet-draw": "^1.0.4", "moment": "^2.24.0", "node-sass": "^4.12.0", diff --git a/src/scss/_custom.scss b/src/scss/_custom.scss index 22d01bd..089c624 100644 --- a/src/scss/_custom.scss +++ b/src/scss/_custom.scss @@ -160,3 +160,7 @@ border-radius: 12px; } +.leaflet-container { + width: 100%; + height: 50vh; +} diff --git a/src/views/DashboardPMOV1/index.js b/src/views/DashboardPMOV1/index.js index 36c41b9..7a86ba8 100644 --- a/src/views/DashboardPMOV1/index.js +++ b/src/views/DashboardPMOV1/index.js @@ -3,36 +3,13 @@ import { Row, Col, Collapse } from 'antd'; import TableDashboardV1 from './tableDashboardv1'; import { ProjectTypeChart } from './chartDashboard'; import { ProjectPhaseChart } from './projectPhaseChart'; +import ProjectMap from './projectMap'; import axios from 'axios' import { BASE_OSPRO } from '../../const/ApiConst'; import { formatRibuanDecimal } from '../../const/CustomFunc.js'; - const { Panel } = Collapse; -function BoxDashboard({ value, title, secondaryTitle, icon, bgColor, valFSize = '1.0rem', fSize = '0.7rem' }) { - return ( - <> -