Skip to content

Commit a888d95

Browse files
committed
Improve wording and sort order of predefined locations
1 parent b59effc commit a888d95

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/model.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const LocationSources = [
9191

9292
export class MapCenterType {
9393
static readonly Other:string = 'Others';
94-
static readonly Region:string = 'Region';
94+
static readonly Region:string = 'Regions';
9595
static readonly Country:string = 'Countries';
9696
static readonly City:string = 'Cities';
9797
}
@@ -124,25 +124,6 @@ export const MapCenters = [
124124
type: MapCenterType.Other,
125125
},
126126

127-
{
128-
id: 'Belgium',
129-
label: 'Belgium',
130-
type: MapCenterType.Country,
131-
data: { mapCenterLatitude: 50.53665, mapCenterLongitude: 4.39851, initialZoom: 7 },
132-
},
133-
{
134-
id: 'Germany',
135-
label: 'Germany',
136-
type: MapCenterType.Country,
137-
data: { mapCenterLatitude: 51.35149, mapCenterLongitude: 10.45412, initialZoom: 5 },
138-
},
139-
{
140-
id: 'Sweden',
141-
label: 'Sweden',
142-
type: MapCenterType.Country,
143-
data: { mapCenterLatitude: 62.91154, mapCenterLongitude: 17.38539, initialZoom: 4 },
144-
},
145-
146127
{
147128
id: 'Europe',
148129
label: 'Europe',
@@ -168,6 +149,25 @@ export const MapCenters = [
168149
data: { mapCenterLatitude: 26, mapCenterLongitude: 53, initialZoom: 4 },
169150
},
170151

152+
{
153+
id: 'Belgium',
154+
label: 'Belgium',
155+
type: MapCenterType.Country,
156+
data: { mapCenterLatitude: 50.53665, mapCenterLongitude: 4.39851, initialZoom: 7 },
157+
},
158+
{
159+
id: 'Germany',
160+
label: 'Germany',
161+
type: MapCenterType.Country,
162+
data: { mapCenterLatitude: 51.35149, mapCenterLongitude: 10.45412, initialZoom: 5 },
163+
},
164+
{
165+
id: 'Sweden',
166+
label: 'Sweden',
167+
type: MapCenterType.Country,
168+
data: { mapCenterLatitude: 62.91154, mapCenterLongitude: 17.38539, initialZoom: 4 },
169+
},
170+
171171
{
172172
id: 'Berlin',
173173
label: 'Berlin',

0 commit comments

Comments
 (0)