build static method
Implementation
static List<PowerMapLayerGroup> build() {
return const [
PowerMapLayerGroup(
key: 'city',
label: 'CITY PLAN',
items: [
PowerMapLayerItem(id: 'pm-bkk-plan', name: 'Bangkok'),
PowerMapLayerItem(id: 'pm-npt-plan', name: 'Nakhon Pathom'),
PowerMapLayerItem(id: 'pm-nbi-plan', name: 'Nonthaburi'),
PowerMapLayerItem(id: 'pm-pkn-plan', name: 'Samut Prakan'),
PowerMapLayerItem(id: 'pm-skn-plan', name: 'Samut Sakhon'),
PowerMapLayerItem(id: 'pm-aya-plan', name: 'Ayutthaya'),
],
),
PowerMapLayerGroup(
key: 'transport',
label: 'TRANSPORT',
items: [
PowerMapLayerItem(
id: 'pm-road-vt',
name: 'Road',
isVector: true,
groupPrefix: 'roads',
),
PowerMapLayerItem(
id: 'pm-post-election-vt',
name: 'Post Election',
isVector: true,
groupPrefix: 'election',
),
PowerMapLayerItem(
id: 'pm-future-motorway-th-vt',
name: 'Future Motorway TH',
isVector: true,
groupPrefix: 'f_myway_th',
),
PowerMapLayerItem(
id: 'pm-future-motorway-en-vt',
name: 'Future Motorway EN',
isVector: true,
groupPrefix: 'f_myway_en',
),
PowerMapLayerItem(
id: 'pm-current-railway-th-vt',
name: 'Railway TH',
isVector: true,
groupPrefix: 'railway_th',
),
PowerMapLayerItem(
id: 'pm-current-railway-en-vt',
name: 'Railway EN',
isVector: true,
groupPrefix: 'railway_en',
),
PowerMapLayerItem(
id: 'pm-future-railway-th-vt',
name: 'Future Railway TH',
isVector: true,
groupPrefix: 'f_railway_th',
),
PowerMapLayerItem(
id: 'pm-future-railway-en-vt',
name: 'Future Railway EN',
isVector: true,
groupPrefix: 'f_railway_en',
),
PowerMapLayerItem(
id: 'pm-current-bts-mrt-th-vt',
name: 'BTS / MRT TH',
isVector: true,
groupPrefix: 'bts_mrt_th',
),
PowerMapLayerItem(
id: 'pm-current-bts-mrt-en-vt',
name: 'BTS / MRT EN',
isVector: true,
groupPrefix: 'bts_mrt_en',
),
PowerMapLayerItem(
id: 'pm-future-bts-mrt-th-vt',
name: 'Future BTS / MRT TH',
isVector: true,
groupPrefix: 'f_bts_mrt_th',
),
PowerMapLayerItem(
id: 'pm-future-bts-mrt-en-vt',
name: 'Future BTS / MRT EN',
isVector: true,
groupPrefix: 'f_bts_mrt_en',
),
],
),
PowerMapLayerGroup(
key: 'insight',
label: 'INSIGHT DATA',
items: [
PowerMapLayerItem(id: 'pm-night-lights', name: 'Night Lights'),
PowerMapLayerItem(id: 'pm-satellite', name: 'Satellite'),
],
),
];
}