File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,6 @@ const MAP_URL = process.env.MAP_URL || 'https://dev-cdn.digitransit.fi';
1010const POI_MAP_PREFIX = `${ MAP_URL } /map/v3/varely` ;
1111const colorPrimary = '#008161' ;
1212
13- const minLat = 59.98 ;
14- const maxLat = 61.8 ;
15- const minLon = 21 ;
16- const maxLon = 23.9 ;
17-
1813export default configMerger ( walttiConfig , {
1914 CONFIG ,
2015
@@ -78,18 +73,23 @@ export default configMerger(walttiConfig, {
7873
7974 nearYouModes : [ 'bus' , 'ferry' ] ,
8075
81- searchParams : {
82- 'boundary.rect.min_lat' : minLat ,
83- 'boundary.rect.max_lat' : maxLat ,
84- 'boundary.rect.min_lon' : minLon ,
85- 'boundary.rect.max_lon' : maxLon ,
86- } ,
76+ useSearchPolygon : true ,
8777
8878 areaPolygon : [
89- [ minLon , minLat ] ,
90- [ minLon , maxLat ] ,
91- [ maxLon , maxLat ] ,
92- [ maxLon , minLat ] ,
79+ [ 21.0 , 59.75 ] ,
80+ [ 22.83 , 59.77 ] ,
81+ [ 22.92 , 59.96 ] ,
82+ [ 23.73 , 60.15 ] ,
83+ [ 24.04 , 60.65 ] ,
84+ [ 23.38 , 60.8 ] ,
85+ [ 23.33 , 61.06 ] ,
86+ [ 22.68 , 61.47 ] ,
87+ [ 22.92 , 61.75 ] ,
88+ [ 22.79 , 61.98 ] ,
89+ [ 22.97 , 62.27 ] ,
90+ [ 22.58 , 62.36 ] ,
91+ [ 22.03 , 62.1 ] ,
92+ [ 21.0 , 62.02 ] ,
9393 ] ,
9494
9595 map : {
You can’t perform that action at this time.
0 commit comments