This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
mod_osmod.xml
175 lines (148 loc) · 8.79 KB
/
mod_osmod.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="2.5" client="site" method="upgrade">
<!-- Metadata -->
<name>OSModul</name>
<author>Martin Kröll</author>
<creationDate>24.02.2018</creationDate>
<copyright>(c) 2012-2018 Martin Kröll</copyright>
<license>https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://extensions.joomla.org/extensions/owner/schlumpf</authorUrl>
<version>2.15</version>
<description>MOD_OSMOD_DESCRIPTION</description>
<!-- Update servers -->
<updateservers>
<server type="extension" priority="1" name="OSModul at hof-ronig.de">http://jextensions.hof-ronig.de/mod_osmod/update.xml</server>
</updateservers>
<!-- Script file -->
<scriptfile>mod_osmod.script.php</scriptfile>
<!-- Front-end files -->
<files>
<folder>language</folder>
<folder>tmpl</folder>
<filename>mod_osmod.xml</filename>
<filename module="mod_osmod">mod_osmod.php</filename>
<filename>helper.php</filename>
<filename>index.html</filename>
<filename>CHANGES</filename>
</files>
<!-- Media files -->
<media destination="mod_osmod">
<folder>leaflet</folder>
<folder>images</folder>
</media>
<!-- Configuration -->
<config>
<fields name="params">
<fieldset name="mapConfig" label="MOD_OSMOD_H_MAP">
<field type="text" name="height" label="MOD_OSMOD_HEIGHT" description="MOD_OSMOD_HEIGHT_DESC" default="200"/>
<field type="list" name="zoom" default="12" label="MOD_OSMOD_ZOOM" description="MOD_OSMOD_ZOOM_DESC">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
</field>
<field type="list" name="baselayer" default="Mapnik" label="MOD_OSMOD_BASELAYER" description="MOD_OSMOD_BASELAYER_DESC">
<option value="mapnik">OpenStreetMap</option>
<option value="mapnikde">OpenStreetMap DE</option>
<option value="stamenwater">Stamen Watercolor</option>
<option value="opentopomap">OpenTopoMap</option>
<option value="openmapsurfer">OpenMapSurfer</option>
<option value="humanitarian">Humanitarian (HOT)</option>
<option value="custom">custom</option>
</field>
<field type="text" name="customBaselayer" label="MOD_OSMOD_CUSTOMBASELAYER" description="MOD_OSMOD_CUSTOMBASELAYER_DESC" default=""/>
<field type="text" name="customBaselayerURL" label="MOD_OSMOD_CUSTOMBASELAYERURL" description="MOD_OSMOD_CUSTOMBASELAYERURL_DESC" default=""/>
<field type="checkboxes" name="scale" label="MOD_OSMOD_SCALE" description="MOD_OSMOD_SCALE_DESC">
<option value="metric">MOD_OSMOD_METRIC</option>
<option value="imperial">MOD_OSMOD_IMPERIAL</option>
</field>
<field type="list" name="noWorldWarp" default="0" label="MOD_OSMOD_NOWORLDWARP" description="MOD_OSMOD_NOWORLDWARP_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field type="list" name="attrLeaflet" default="0" label="MOD_OSMOD_ATTRLEAFLET" description="MOD_OSMOD_ATTRLEAFLET_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field type="list" name="attrImagery" default="1" label="MOD_OSMOD_ATTRIMAGERY" description="MOD_OSMOD_ATTRIMAGERY_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field type="list" name="attrModule" default="0" label="MOD_OSMOD_ATTRMODULE" description="MOD_OSMOD_ATTRMODULE_DESC">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field type="checkboxes" name="disableInteraction" label="MOD_OSMOD_DISABLE_INTERACTION" description="MOD_OSMOD_DISABLE_INTERACTION_DESC">
<option value="dragging">MOD_OSMOD_DRAGGING</option>
<option value="touchZoom">MOD_OSMOD_TOUCH_ZOOM</option>
<option value="wheelZoom">MOD_OSMOD_WHEEL_ZOOM</option>
<option value="doubleClickZoom">MOD_OSMOD_CLICK_ZOOM</option>
<option value="boxZoom">MOD_OSMOD_BOX_ZOOM</option>
<option value="keyboard">MOD_OSMOD_KEYBOARD</option>
<option value="zoomControls">MOD_OSMOD_ZOOM_CONTROLS</option>
</field>
<field type="spacer" name="spacerPos0" hr="true" />
<field type="spacer" name="spacerPos" label="MOD_OSMOD_POSITION" class="text"/>
<field type="text" name="lon" label="MOD_OSMOD_LON" description="MOD_OSMOD_LON_DESC" default="7.316633"/>
<field type="text" name="lat" label="MOD_OSMOD_LAT" description="MOD_OSMOD_LAT_DESC" default="50.560715"/>
</fieldset>
<fieldset name="pinConfig" label="MOD_OSMOD_H_PIN">
<field type="radio" name="pin" default="1" label="MOD_OSMOD_PIN" description="MOD_OSMOD_PIN_DESC">
<option value="0">MOD_OSMOD_NOPIN</option>
<option value="1"><img src="../media/mod_osmod/leaflet/images/marker-icon.png" alt="default" /></option>
<option value="2">MOD_OSMOD_OWNPIN</option>
</field>
<field type="spacer" name="spacerPin0" hr="true" />
<field type="spacer" name="spacerPin" label="MOD_OSMOD_PINPATH" class="text"/>
<field type="media" name="customPinPath" label="MOD_OSMOD_PINPATH" description="MOD_OSMOD_PINPATH_DESC" default=""/>
<field type="text" name="customPinSize" label="MOD_OSMOD_PINSIZE" description="MOD_OSMOD_PINSIZE_DESC" default="24x24"/>
<field type="media" name="customPinShadowPath" label="MOD_OSMOD_PINSHADOWPATH" description="MOD_OSMOD_PINSHADOWPATH_DESC" default=""/>
<field type="text" name="customPinShadowSize" label="MOD_OSMOD_PINSHADOWSIZE" description="MOD_OSMOD_PINSHADOWSIZE_DESC" default="0x0"/>
<field type="text" name="customPinOffset" label="MOD_OSMOD_PINOFFSET" description="MOD_OSMOD_PINOFFSET_DESC" default="0x0"/>
<field type="text" name="customPinPopupOffset" label="MOD_OSMOD_PINPOPUPOFFSET" description="MOD_OSMOD_PINPOPUPOFFSET_DESC" default="0x0"/>
<field type="spacer" name="spacerPopup0" hr="true" />
<field type="spacer" name="spacerPopup" label="MOD_OSMOD_HPOPUP" class="text"/>
<field type="list" name="popup" default="0" label="MOD_OSMOD_POPUP" description="MOD_OSMOD_POPUP_DESC">
<option value="1">MOD_OSMOD_KLICK</option>
<option value="2">MOD_OSMOD_ALWAYS</option>
<option value="0">MOD_OSMOD_NEVER</option>
</field>
</fieldset>
<!-- Popup Text -->
<fieldset name="popoupConfig" label="MOD_OSMOD_POPUPTEXT">
<field type="editor" name="popuptext" default="" label="MOD_OSMOD_POPUPTEXT" description="MOD_OSMOD_POPUPTEXT_DESC" filter="safehtml"/>
</fieldset>
<!-- Multipin -->
<fieldset name="multipinConfig" label="MOD_OSMOD_MP_MULTIPIN">
<field name="pins" type="textarea" default="" label="MOD_OSMOD_MP_PINS" description="MOD_OSMOD_MP_PINS_DESC" />
<field name="custompins" type="textarea" default="" label="MOD_OSMOD_MP_CUSTOMS" description="MOD_OSMOD_MP_CUSTOMS_DESC" />
<field name="popups" type="textarea" default="" label="MOD_OSMOD_MP_POPUPS" description="MOD_OSMOD_MP_POPUPS_DESC" filter="raw" />
</fieldset>
<!-- advanced -->
<fieldset name="advanced">
<field
name="moduleclass_sfx"
type="text"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" />
</fieldset>
</fields>
</config>
</extension>