Compare commits
2 Commits
device_sgw
...
device_sgw
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28739ddcd9 | ||
|
|
53dfb861dd |
Binary file not shown.
@@ -7,7 +7,7 @@ const Footer = () => {
|
|||||||
background: 'none',
|
background: 'none',
|
||||||
color: 'white',
|
color: 'white',
|
||||||
}}
|
}}
|
||||||
copyright="2025 Sản phẩm của Mobifone v1.1"
|
copyright="2025 Sản phẩm của Mobifone v1.2"
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -112,10 +112,15 @@ class MapManager {
|
|||||||
for (const layerMeta of listLayers) {
|
for (const layerMeta of listLayers) {
|
||||||
try {
|
try {
|
||||||
const data = await getLayer(layerMeta); // lấy GeoJSON từ server
|
const data = await getLayer(layerMeta); // lấy GeoJSON từ server
|
||||||
|
let style = {};
|
||||||
|
if (layerMeta === 'base-countries') {
|
||||||
|
style = createLabelAndFillStyle('#F3F2EC', '#E5BEB5');
|
||||||
|
} else {
|
||||||
|
style = createLabelAndFillStyle('#77BEF0', '#000000');
|
||||||
|
}
|
||||||
const vectorLayer = createGeoJSONLayer({
|
const vectorLayer = createGeoJSONLayer({
|
||||||
data,
|
data,
|
||||||
style: createLabelAndFillStyle('#77BEF0', '#000000'),
|
style: style,
|
||||||
});
|
});
|
||||||
|
|
||||||
dynamicLayers.push(vectorLayer);
|
dynamicLayers.push(vectorLayer);
|
||||||
|
|||||||
Reference in New Issue
Block a user