1 |
<?xml version="1.0" encoding="UTF-8"?> |
---|
2 |
<ca:widgetdoc xmlns:ca="http://localhost/chameleon/utils/xml/schemas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://localhost/chameleon/utils/xml/schemas ..\..\..\utils/xml/schemas/chameleon.xsd"> |
---|
3 |
<ca:docinfo> |
---|
4 |
<ca:language> |
---|
5 |
<ca:value>fr-ca</ca:value> |
---|
6 |
</ca:language> |
---|
7 |
<ca:docbuilddate> |
---|
8 |
<ca:value>1999-12-31</ca:value> |
---|
9 |
</ca:docbuilddate> |
---|
10 |
<ca:docversion> |
---|
11 |
<ca:value>$id:$</ca:value> |
---|
12 |
</ca:docversion> |
---|
13 |
<ca:authors> |
---|
14 |
<ca:person> |
---|
15 |
<ca:name>Doc_Builder</ca:name> |
---|
16 |
<ca:company>DM Solutions Group Inc.</ca:company> |
---|
17 |
<ca:contact>chameleon@lists.maptools.org</ca:contact> |
---|
18 |
</ca:person> |
---|
19 |
</ca:authors> |
---|
20 |
<ca:editors> |
---|
21 |
<ca:person> |
---|
22 |
<ca:name>Christopher R. Thorne</ca:name> |
---|
23 |
<ca:company>DM Solutions Group Inc.</ca:company> |
---|
24 |
<ca:contact>chameleon@lists.maptools.org</ca:contact> |
---|
25 |
</ca:person> |
---|
26 |
</ca:editors> |
---|
27 |
</ca:docinfo> |
---|
28 |
<ca:identification> |
---|
29 |
<ca:name> |
---|
30 |
<ca:value>Cursorpos</ca:value> |
---|
31 |
</ca:name> |
---|
32 |
<ca:chameleonpack> |
---|
33 |
<ca:value>Base Package</ca:value> |
---|
34 |
</ca:chameleonpack> |
---|
35 |
<ca:parentgroup> |
---|
36 |
<ca:value>Label Widgets</ca:value> |
---|
37 |
</ca:parentgroup> |
---|
38 |
<ca:version> |
---|
39 |
<ca:value>1.99</ca:value> |
---|
40 |
</ca:version> |
---|
41 |
<ca:releasedate> |
---|
42 |
<ca:value>1999-12-31</ca:value> |
---|
43 |
</ca:releasedate> |
---|
44 |
<ca:maturitylevel> |
---|
45 |
<ca:value>UNKNOWN</ca:value> |
---|
46 |
</ca:maturitylevel> |
---|
47 |
<ca:developers> |
---|
48 |
<ca:person> |
---|
49 |
<ca:name>Paul Spencer</ca:name> |
---|
50 |
<ca:company>DM Solutions Group Inc.</ca:company> |
---|
51 |
<ca:contact>chameleon@lists.maptools.org</ca:contact> |
---|
52 |
</ca:person> |
---|
53 |
</ca:developers> |
---|
54 |
</ca:identification> |
---|
55 |
<ca:descriptions> |
---|
56 |
<ca:description> |
---|
57 |
<ca:paras> |
---|
58 |
<ca:para>Display the current cursor position in the geographic coordinates of the map. To assist template developers, this widget can be configured to display one of the two axes of the cursor position. The cursor position must be displayed in an HTML element that can be updated, so an HTML INPUT box is used. CSS can be used to modify the appearance of the INPUT box to make it look nicer in more modern browsers.</ca:para> |
---|
59 |
</ca:paras> |
---|
60 |
</ca:description> |
---|
61 |
<ca:techrequirements/> |
---|
62 |
<ca:dependancies> |
---|
63 |
<ca:dependancy type="Widget" title="Map Widget"> |
---|
64 |
<ca:para> A map widget must be present in the interface so this widget can display the coordinate position on the map.</ca:para> |
---|
65 |
</ca:dependancy> |
---|
66 |
</ca:dependancies> |
---|
67 |
<ca:sharedresources> |
---|
68 |
<ca:paras title="None."> |
---|
69 |
<ca:para/> |
---|
70 |
</ca:paras> |
---|
71 |
</ca:sharedresources> |
---|
72 |
<ca:embeddedhelp> |
---|
73 |
<ca:paras> |
---|
74 |
<ca:para>Cette fenètre affiche les valeurs X et Y de la position du curseur ê mesure qu'il est eacute;placé sur l'image. Les valeurs sont en unités de la projection courante.</ca:para> |
---|
75 |
</ca:paras> |
---|
76 |
</ca:embeddedhelp> |
---|
77 |
<ca:guinotes/> |
---|
78 |
<ca:qanotes/> |
---|
79 |
</ca:descriptions> |
---|
80 |
<ca:tagstructures> |
---|
81 |
<ca:tagstructure> |
---|
82 |
<ca:description/> |
---|
83 |
<ca:code> |
---|
84 |
<ca:codeblock bold="true"> |
---|
85 |
<ca:line><CWC2 TYPE="Cursorpos"</ca:line> |
---|
86 |
</ca:codeblock> |
---|
87 |
<ca:codeblock bold="false"> |
---|
88 |
<ca:line> ENABLED="[TRUE|FALSE]"</ca:line> |
---|
89 |
<ca:line> FORMINDEX="[0 < integer]"</ca:line> |
---|
90 |
<ca:line> VISIBLE="[TRUE|FALSE]"</ca:line> |
---|
91 |
<ca:line/> |
---|
92 |
<ca:line> <!-- CursorPos Attributes--></ca:line> |
---|
93 |
</ca:codeblock> |
---|
94 |
<ca:codeblock bold="true"> |
---|
95 |
<ca:line> AXIS="[X|Y]"</ca:line> |
---|
96 |
</ca:codeblock> |
---|
97 |
<ca:codeblock bold="false"> |
---|
98 |
<ca:line> TEXTFIELDSIZE="[0 < integer]"</ca:line> |
---|
99 |
<ca:line> WIDGETCLASS="[string]"</ca:line> |
---|
100 |
<ca:line> WIDGETSTYLE="[string]"</ca:line> |
---|
101 |
<ca:line/> |
---|
102 |
<ca:line> <!-- Label Attribute Group--></ca:line> |
---|
103 |
<ca:line/> |
---|
104 |
<ca:line> LABEL="[string]"</ca:line> |
---|
105 |
<ca:line> LABELPOSITION="[0 < integer < 8]"</ca:line> |
---|
106 |
<ca:line> LABELHALIGN="[LEFT|CENTER|RIGHT]"</ca:line> |
---|
107 |
<ca:line> LABELVALIGN="[TOP|MIDDLE|BOTTOM]"</ca:line> |
---|
108 |
<ca:line> LABELCLASS="[string]"</ca:line> |
---|
109 |
<ca:line> LABELSTYLE="[string]"/></ca:line> |
---|
110 |
</ca:codeblock> |
---|
111 |
</ca:code> |
---|
112 |
</ca:tagstructure> |
---|
113 |
</ca:tagstructures> |
---|
114 |
<ca:examples> |
---|
115 |
<ca:widgetexamples> |
---|
116 |
<ca:example title="Example #1: Simple"> |
---|
117 |
<ca:description>This tag example only outputs the "X" coordinate cursor position whenever the mouse is over the application map.</ca:description> |
---|
118 |
<ca:code> |
---|
119 |
<ca:codeblock bold="false"> |
---|
120 |
<ca:line><cwc2 type="CursorPos" axis="X"/></ca:line> |
---|
121 |
</ca:codeblock> |
---|
122 |
</ca:code> |
---|
123 |
</ca:example> |
---|
124 |
<ca:example title="Example #2: Advanced"> |
---|
125 |
<ca:description>The coordinate position "X" will be labeled left of the output with "Longitude: ". This Label widget has also been given a CSS style to make it look nicer than the default style.</ca:description> |
---|
126 |
<ca:code> |
---|
127 |
<ca:codeblock bold="false"> |
---|
128 |
<ca:line><cwc2 type="CursorPos"</ca:line> |
---|
129 |
<ca:line>axis="X"</ca:line> |
---|
130 |
<ca:line>label="Longitude: "</ca:line> |
---|
131 |
<ca:line>labelposition="8"</ca:line> |
---|
132 |
<ca:line>labelvalign="middle"</ca:line> |
---|
133 |
<ca:line>labelclass="label"</ca:line> |
---|
134 |
<ca:line>widgetclass="inputBox"/></ca:line> |
---|
135 |
</ca:codeblock> |
---|
136 |
</ca:code> |
---|
137 |
</ca:example> |
---|
138 |
</ca:widgetexamples> |
---|
139 |
<ca:sampleapps> |
---|
140 |
<ca:sampleapp> |
---|
141 |
<ca:name>Hawaii Demo</ca:name> |
---|
142 |
<ca:appurl>http://www.mapsherpa.com/hawaii2/</ca:appurl> |
---|
143 |
<ca:description>The Hawaii Demo uses the latest 1.99 Chameleon version.</ca:description> |
---|
144 |
</ca:sampleapp> |
---|
145 |
</ca:sampleapps> |
---|
146 |
<ca:scriptexamples/> |
---|
147 |
</ca:examples> |
---|
148 |
<ca:attributegroups> |
---|
149 |
<ca:attributegroup> |
---|
150 |
<ca:name>Label</ca:name> |
---|
151 |
<ca:name>Widget</ca:name> |
---|
152 |
</ca:attributegroup> |
---|
153 |
</ca:attributegroups> |
---|
154 |
<ca:widgettag> |
---|
155 |
<ca:attribute> |
---|
156 |
<ca:name>AXIS</ca:name> |
---|
157 |
<ca:type> |
---|
158 |
<ca:value>string</ca:value> |
---|
159 |
</ca:type> |
---|
160 |
<ca:class> |
---|
161 |
<ca:value>Required</ca:value> |
---|
162 |
</ca:class> |
---|
163 |
<ca:possvalues type="list"> |
---|
164 |
<ca:value>X</ca:value> |
---|
165 |
<ca:value>Y</ca:value> |
---|
166 |
</ca:possvalues> |
---|
167 |
<ca:description>Determines which of the X or Y values of the current cursor position is displayed.</ca:description> |
---|
168 |
</ca:attribute> |
---|
169 |
<ca:attribute> |
---|
170 |
<ca:name>TEXTFIELDSIZE</ca:name> |
---|
171 |
<ca:type> |
---|
172 |
<ca:value>integer</ca:value> |
---|
173 |
</ca:type> |
---|
174 |
<ca:class> |
---|
175 |
<ca:value>Widget Only</ca:value> |
---|
176 |
</ca:class> |
---|
177 |
<ca:default> |
---|
178 |
<ca:value>20</ca:value> |
---|
179 |
</ca:default> |
---|
180 |
<ca:possvalues type="range"> |
---|
181 |
<ca:minimum>0</ca:minimum> |
---|
182 |
<ca:maximum>2147483647</ca:maximum> |
---|
183 |
</ca:possvalues> |
---|
184 |
<ca:description>The size (in characters) of the text box that displays the cursor position.</ca:description> |
---|
185 |
</ca:attribute> |
---|
186 |
<ca:attribute> |
---|
187 |
<ca:name>WIDGETCLASS</ca:name> |
---|
188 |
<ca:type> |
---|
189 |
<ca:value>string</ca:value> |
---|
190 |
</ca:type> |
---|
191 |
<ca:class> |
---|
192 |
<ca:value>Widget Only</ca:value> |
---|
193 |
</ca:class> |
---|
194 |
<ca:default> |
---|
195 |
<ca:value>CWCCursorPositionWidgetClass</ca:value> |
---|
196 |
</ca:default> |
---|
197 |
<ca:description>The CSS class to control the style of the HTML INPUT box.</ca:description> |
---|
198 |
</ca:attribute> |
---|
199 |
<ca:attribute> |
---|
200 |
<ca:name>WIDGETSTYLE</ca:name> |
---|
201 |
<ca:type> |
---|
202 |
<ca:value>string</ca:value> |
---|
203 |
</ca:type> |
---|
204 |
<ca:class> |
---|
205 |
<ca:value>Widget Only</ca:value> |
---|
206 |
</ca:class> |
---|
207 |
<ca:default> |
---|
208 |
<ca:value>NULL</ca:value> |
---|
209 |
</ca:default> |
---|
210 |
<ca:description> The CSS Style to control the style of the HTML INPUT box.</ca:description> |
---|
211 |
</ca:attribute> |
---|
212 |
</ca:widgettag> |
---|
213 |
<ca:formelements> |
---|
214 |
<ca:formelement> |
---|
215 |
<ca:name>sid</ca:name> |
---|
216 |
<ca:type> |
---|
217 |
<ca:value>unknown</ca:value> |
---|
218 |
</ca:type> |
---|
219 |
<ca:description/> |
---|
220 |
</ca:formelement> |
---|
221 |
</ca:formelements> |
---|
222 |
<ca:jsfunctions> |
---|
223 |
<ca:jsfunction> |
---|
224 |
<ca:name>CursorXMouseMoved</ca:name> |
---|
225 |
<ca:scope> |
---|
226 |
<ca:value>Private</ca:value> |
---|
227 |
</ca:scope> |
---|
228 |
<ca:description/> |
---|
229 |
<ca:parameters> |
---|
230 |
<ca:parameter> |
---|
231 |
<ca:name>e</ca:name> |
---|
232 |
<ca:type> |
---|
233 |
<ca:value>boolean</ca:value> |
---|
234 |
</ca:type> |
---|
235 |
<ca:required> |
---|
236 |
<ca:value>true</ca:value> |
---|
237 |
</ca:required> |
---|
238 |
<ca:description/> |
---|
239 |
</ca:parameter> |
---|
240 |
</ca:parameters> |
---|
241 |
</ca:jsfunction> |
---|
242 |
<ca:jsfunction> |
---|
243 |
<ca:name>WidgetPix2Geo</ca:name> |
---|
244 |
<ca:scope> |
---|
245 |
<ca:value>Private</ca:value> |
---|
246 |
</ca:scope> |
---|
247 |
<ca:description/> |
---|
248 |
<ca:parameters> |
---|
249 |
<ca:parameter> |
---|
250 |
<ca:name>nPixPos</ca:name> |
---|
251 |
<ca:type> |
---|
252 |
<ca:value>integer</ca:value> |
---|
253 |
</ca:type> |
---|
254 |
<ca:required> |
---|
255 |
<ca:value>true</ca:value> |
---|
256 |
</ca:required> |
---|
257 |
<ca:description/> |
---|
258 |
</ca:parameter> |
---|
259 |
<ca:parameter> |
---|
260 |
<ca:name>dfPixMin</ca:name> |
---|
261 |
<ca:type> |
---|
262 |
<ca:value>integer</ca:value> |
---|
263 |
</ca:type> |
---|
264 |
<ca:required> |
---|
265 |
<ca:value>true</ca:value> |
---|
266 |
</ca:required> |
---|
267 |
<ca:description/> |
---|
268 |
</ca:parameter> |
---|
269 |
<ca:parameter> |
---|
270 |
<ca:name>dfPixMax</ca:name> |
---|
271 |
<ca:type> |
---|
272 |
<ca:value>integer</ca:value> |
---|
273 |
</ca:type> |
---|
274 |
<ca:required> |
---|
275 |
<ca:value>true</ca:value> |
---|
276 |
</ca:required> |
---|
277 |
<ca:description/> |
---|
278 |
</ca:parameter> |
---|
279 |
<ca:parameter> |
---|
280 |
<ca:name>dfGeoMin</ca:name> |
---|
281 |
<ca:type> |
---|
282 |
<ca:value>float</ca:value> |
---|
283 |
</ca:type> |
---|
284 |
<ca:required> |
---|
285 |
<ca:value>true</ca:value> |
---|
286 |
</ca:required> |
---|
287 |
<ca:description/> |
---|
288 |
</ca:parameter> |
---|
289 |
<ca:parameter> |
---|
290 |
<ca:name>dfGeoMax</ca:name> |
---|
291 |
<ca:type> |
---|
292 |
<ca:value>float</ca:value> |
---|
293 |
</ca:type> |
---|
294 |
<ca:required> |
---|
295 |
<ca:value>true</ca:value> |
---|
296 |
</ca:required> |
---|
297 |
<ca:description/> |
---|
298 |
</ca:parameter> |
---|
299 |
<ca:parameter> |
---|
300 |
<ca:name>nInversePix</ca:name> |
---|
301 |
<ca:type> |
---|
302 |
<ca:value>integer</ca:value> |
---|
303 |
</ca:type> |
---|
304 |
<ca:required> |
---|
305 |
<ca:value>true</ca:value> |
---|
306 |
</ca:required> |
---|
307 |
<ca:description/> |
---|
308 |
</ca:parameter> |
---|
309 |
</ca:parameters> |
---|
310 |
</ca:jsfunction> |
---|
311 |
</ca:jsfunctions> |
---|
312 |
</ca:widgetdoc> |
---|