|
|
@@ -143,14 +143,14 @@ const countryStyle = new Style({
|
|
|
}),
|
|
|
});
|
|
|
|
|
|
-export const countryLayer = new VectorLayer({
|
|
|
+export const ugandaLayer = new VectorLayer({
|
|
|
properties: {
|
|
|
editor: {editable: false},
|
|
|
title: 'Uganda',
|
|
|
},
|
|
|
source: new VectorSource({
|
|
|
format: new TopoJSON({dataProjection: 'EPSG:4326'}),
|
|
|
- url: require('./data/uganda_districts_2020_10p_4326.topojson').default,
|
|
|
+ url: require('./data/uganda_50p.topojson').default,
|
|
|
attributions: ['HDX, Uganda Bureau of Statistics with support from WHO'],
|
|
|
overlaps: false,
|
|
|
}),
|
|
|
@@ -158,6 +158,21 @@ export const countryLayer = new VectorLayer({
|
|
|
style: countryStyle,
|
|
|
});
|
|
|
|
|
|
+export const kenyaLayer = new VectorLayer({
|
|
|
+ properties: {
|
|
|
+ editor: {editable: false},
|
|
|
+ title: 'Kenya',
|
|
|
+ },
|
|
|
+ source: new VectorSource({
|
|
|
+ format: new TopoJSON({dataProjection: 'EPSG:4326'}),
|
|
|
+ url: require('./data/kenya_50p.topojson').default,
|
|
|
+ attributions: ['HDX, IEBC'],
|
|
|
+ overlaps: false,
|
|
|
+ }),
|
|
|
+ visible: true,
|
|
|
+ style: countryStyle,
|
|
|
+});
|
|
|
+
|
|
|
export const AppConfig = {
|
|
|
assetsPath: 'assets/hslayers-ng',
|
|
|
useProxy: false,
|