File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 26
26
gtt_text_settings_geometry_example : " 2747491302261fbc47967ba62621af22"
27
27
28
28
label_gtt : " GTT"
29
+ label_gtt_bounding_box_filter : Location
29
30
label_gtt_tile_source : Tile Source
30
31
label_gtt_tile_source_new : New Tile Source
31
32
label_gtt_tile_source_plural : Tile Sources
Original file line number Diff line number Diff line change @@ -13,6 +13,21 @@ def self.apply
13
13
def self . prepended ( base )
14
14
end
15
15
16
+ # weiter: use 'On map' option tag to hold current map extent
17
+ # - wenn filter hinzugefügt befüllen (dom hook oder so?)
18
+ # - on map move / zoom updaten (app.map.js)
19
+ def initialize_available_filters ( )
20
+ super
21
+ if project and project . module_enabled? ( 'gtt' )
22
+ add_available_filter (
23
+ 'location_filter' ,
24
+ name : l ( :label_gtt_location_filter ) ,
25
+ type : :list ,
26
+ values : [ 'On map' ]
27
+ )
28
+ end
29
+ end
30
+
16
31
def available_columns
17
32
super . tap do |columns |
18
33
if project and !project . module_enabled? ( 'gtt' )
You can’t perform that action at this time.
0 commit comments