-
Notifications
You must be signed in to change notification settings - Fork 0
/
s4-plugin-all.xml
70 lines (59 loc) · 3.18 KB
/
s4-plugin-all.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not customize this tool. Make copy of module and create your own tool -->
<tool>
<requires>
<include ignore="not ModuleDefined('profileselector')" src="[module:profileselector.dir]/tools/profileselector.xml" nodes="/tool/requires/*" mustexist="true"/>
<include src="[module:s4.dir]/tools/s4-requires.xml" nodes="/tool/requires/*" mustexist="true"/>
<file type="script" name="/modules/s4/js/s4ThemeSearcher.js?_=[s4.version]"/>
<file type="script" name="/modules/s4/js/workspaceSearcher.js?_=[s4.version]"/>
<file type="script" name="/modules/s4/js/profileSearcher.js?_=[s4.version]"/>
<file type="script" name="/modules/s4/js/favoriteSearcher.js?_=[s4.version]"/>
<!-- Include custom css if you need to customize styles -->
<!-- <file type="css" name="/css/custom/s4.css" /> -->
<!-- Include custom colors css if you need to customize colors -->
<!-- <file type="css" name="/css/custom/s4Color.css" /> -->
</requires>
<displayname>s4Plugin</displayname>
<src><![CDATA[
s4_init ({
//Positioning of s4. Choose between
// 'default': In panel-brand if possible, else in panel-middle (menu linie, right justified)
// 'tool': Use the panel as specified in the profile
// 'panel-brand': Force s4 to panel-brand
// 'panel-top': Force s4 to top menu
// 'panel-middle': Force s4 to menu linie (right justified)
// 'menu': As the last menu in the menu line
panel: 'default',
//Result presentation
// printconfig: standard, full_freetext, rotatet, rotatet_contact or html
// blankbehavior: search or none
// autofocus: true or false. Default is false
// forcedblurOnSelect: Force close of result list. Default is false
// zoomBuffer: Buffer when result is shown in map. Default is '100'
// marginToBottom: Distance between bottom of resultlist and bottom af window. Default is 100
view: {
limit: 20,
blankbehavior: "search",
autofocus: false,
dynamiclayer: 'userdatasource',
infoprofilequery: 'userdatasource',
printconfig: 'rotatet',
forcedblurOnSelect: 'false',
zoomBuffer: '100',
marginToBottom: 100
},
//Local SpatialSuite datasources
// datasources: "*" for all, or space separated names of datasources
// blankbehavior: search or none
indexsearcher: {enabled: false, info: true, print: true, datasources: "*", blankbehavior: "search"},
//Themes in profile
themesearcher: {enabled: true},
//Profiles
profilesearcher: {enabled: true},
//Favorites
favoritesearcher: {enabled: true},
//Workspaces
workspacesearcher: {enabled: true}
});
]]></src>
</tool>