simpler-tiles 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/index.erb +3 -1
- data/index.html +4 -0
- data/lib/simpler_tiles/map.rb +1 -1
- data/lib/simpler_tiles/version.rb +1 -1
- metadata +20 -41
- data/doc/SimplerTiles/Bounds.html +0 -493
- data/doc/SimplerTiles/Layer.html +0 -576
- data/doc/SimplerTiles/Map.html +0 -2001
- data/doc/SimplerTiles/PP.html +0 -200
- data/doc/SimplerTiles/Query.html +0 -506
- data/doc/SimplerTiles/Style.html +0 -561
- data/doc/SimplerTiles.html +0 -162
- data/doc/_index.html +0 -188
- data/doc/class_list.html +0 -47
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -55
- data/doc/css/style.css +0 -322
- data/doc/file.README.html +0 -89
- data/doc/file_list.html +0 -49
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -89
- data/doc/js/app.js +0 -205
- data/doc/js/full_list.js +0 -173
- data/doc/js/jquery.js +0 -16
- data/doc/method_list.html +0 -390
- data/doc/top-level-namespace.html +0 -105
data/doc/SimplerTiles/Style.html
DELETED
@@ -1,561 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: SimplerTiles::Style
|
8
|
-
|
9
|
-
— Documentation by YARD 0.7.5
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
relpath = '..';
|
19
|
-
if (relpath != '') relpath += '/';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
25
|
-
|
26
|
-
|
27
|
-
</head>
|
28
|
-
<body>
|
29
|
-
<script type="text/javascript" charset="utf-8">
|
30
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
-
</script>
|
32
|
-
|
33
|
-
<div id="header">
|
34
|
-
<div id="menu">
|
35
|
-
|
36
|
-
<a href="../_index.html">Index (S)</a> »
|
37
|
-
<span class='title'><span class='object_link'><a href="../SimplerTiles.html" title="SimplerTiles (module)">SimplerTiles</a></span></span>
|
38
|
-
»
|
39
|
-
<span class="title">Style</span>
|
40
|
-
|
41
|
-
|
42
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<div id="search">
|
46
|
-
|
47
|
-
<a id="class_list_link" href="#">Class List</a>
|
48
|
-
|
49
|
-
<a id="method_list_link" href="#">Method List</a>
|
50
|
-
|
51
|
-
<a id="file_list_link" href="#">File List</a>
|
52
|
-
|
53
|
-
</div>
|
54
|
-
<div class="clear"></div>
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<iframe id="search_frame"></iframe>
|
58
|
-
|
59
|
-
<div id="content"><h1>Class: SimplerTiles::Style
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
</h1>
|
64
|
-
|
65
|
-
<dl class="box">
|
66
|
-
|
67
|
-
<dt class="r1">Inherits:</dt>
|
68
|
-
<dd class="r1">
|
69
|
-
<span class="inheritName">Object</span>
|
70
|
-
|
71
|
-
<ul class="fullTree">
|
72
|
-
<li>Object</li>
|
73
|
-
|
74
|
-
<li class="next">SimplerTiles::Style</li>
|
75
|
-
|
76
|
-
</ul>
|
77
|
-
<a href="#" class="inheritanceTree">show all</a>
|
78
|
-
|
79
|
-
</dd>
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<dt class="r2">Includes:</dt>
|
87
|
-
<dd class="r2"><span class='object_link'><a href="PP.html" title="SimplerTiles::PP (module)">PP</a></span></dd>
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
<dt class="r1 last">Defined in:</dt>
|
94
|
-
<dd class="r1 last">lib/simpler_tiles/style.rb<span class="defines">,<br />
|
95
|
-
ext/simpler_tiles/style.c</span>
|
96
|
-
</dd>
|
97
|
-
|
98
|
-
</dl>
|
99
|
-
<div class="clear"></div>
|
100
|
-
|
101
|
-
<h2>Overview</h2><div class="docstring">
|
102
|
-
<div class="discussion">
|
103
|
-
|
104
|
-
<p>Each style defines a particular directive for styling the map. For a list
|
105
|
-
of keys and arguments refer to the simple-tiles documentation.</p>
|
106
|
-
|
107
|
-
|
108
|
-
</div>
|
109
|
-
</div>
|
110
|
-
<div class="tags">
|
111
|
-
|
112
|
-
|
113
|
-
</div>
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
<h2>
|
122
|
-
Instance Method Summary
|
123
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
124
|
-
</h2>
|
125
|
-
|
126
|
-
<ul class="summary">
|
127
|
-
|
128
|
-
<li class="public ">
|
129
|
-
<span class="summary_signature">
|
130
|
-
|
131
|
-
<a href="#arg-instance_method" title="#arg (instance method)">- (String) <strong>arg</strong> </a>
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
</span>
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
<span class="summary_desc"><div class='inline'>
|
145
|
-
<p>Get the arg for this Style.</p>
|
146
|
-
</div></span>
|
147
|
-
|
148
|
-
</li>
|
149
|
-
|
150
|
-
|
151
|
-
<li class="public ">
|
152
|
-
<span class="summary_signature">
|
153
|
-
|
154
|
-
<a href="#arg%3D-instance_method" title="#arg= (instance method)">- (String) <strong>arg=</strong> </a>
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
</span>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
<span class="summary_desc"><div class='inline'>
|
168
|
-
<p>Set the arg for this Style.</p>
|
169
|
-
</div></span>
|
170
|
-
|
171
|
-
</li>
|
172
|
-
|
173
|
-
|
174
|
-
<li class="public ">
|
175
|
-
<span class="summary_signature">
|
176
|
-
|
177
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Style) <strong>initialize</strong>(key, arg) </a>
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
</span>
|
182
|
-
|
183
|
-
<span class="note title constructor">constructor</span>
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
<span class="summary_desc"><div class='inline'>
|
193
|
-
<p>Construct a new style.</p>
|
194
|
-
</div></span>
|
195
|
-
|
196
|
-
</li>
|
197
|
-
|
198
|
-
|
199
|
-
<li class="public ">
|
200
|
-
<span class="summary_signature">
|
201
|
-
|
202
|
-
<a href="#key-instance_method" title="#key (instance method)">- (String) <strong>key</strong> </a>
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
</span>
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
<span class="summary_desc"><div class='inline'>
|
216
|
-
<p>Get the key for this Style.</p>
|
217
|
-
</div></span>
|
218
|
-
|
219
|
-
</li>
|
220
|
-
|
221
|
-
|
222
|
-
<li class="public ">
|
223
|
-
<span class="summary_signature">
|
224
|
-
|
225
|
-
<a href="#key%3D-instance_method" title="#key= (instance method)">- (String) <strong>key=</strong> </a>
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
</span>
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
<span class="summary_desc"><div class='inline'>
|
239
|
-
<p>Set the key for this Style.</p>
|
240
|
-
</div></span>
|
241
|
-
|
242
|
-
</li>
|
243
|
-
|
244
|
-
|
245
|
-
</ul>
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="PP.html" title="SimplerTiles::PP (module)">PP</a></span></h3>
|
257
|
-
<p class="inherited"><span class='object_link'><a href="PP.html#inspect-instance_method" title="SimplerTiles::PP#inspect (method)">#inspect</a></span></p>
|
258
|
-
<div id="constructor_details" class="method_details_list">
|
259
|
-
<h2>Constructor Details</h2>
|
260
|
-
|
261
|
-
<div class="method_details first">
|
262
|
-
<p class="signature first" id="initialize-instance_method">
|
263
|
-
|
264
|
-
- (<tt><span class='object_link'><a href="" title="SimplerTiles::Style (class)">Style</a></span></tt>) <strong>initialize</strong>(key, arg)
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
</p><div class="docstring">
|
269
|
-
<div class="discussion">
|
270
|
-
|
271
|
-
<p>Construct a new style</p>
|
272
|
-
|
273
|
-
|
274
|
-
</div>
|
275
|
-
</div>
|
276
|
-
<div class="tags">
|
277
|
-
|
278
|
-
|
279
|
-
</div><table class="source_code">
|
280
|
-
<tr>
|
281
|
-
<td>
|
282
|
-
<pre class="lines">
|
283
|
-
|
284
|
-
|
285
|
-
8
|
286
|
-
9
|
287
|
-
10
|
288
|
-
11</pre>
|
289
|
-
</td>
|
290
|
-
<td>
|
291
|
-
<pre class="code"><span class="info file"># File 'lib/simpler_tiles/style.rb', line 8</span>
|
292
|
-
|
293
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_arg'>arg</span><span class='rparen'>)</span>
|
294
|
-
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_key'>key</span> <span class='op'>=</span> <span class='id identifier rubyid_key'>key</span>
|
295
|
-
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_arg'>arg</span> <span class='op'>=</span> <span class='id identifier rubyid_arg'>arg</span>
|
296
|
-
<span class='kw'>end</span></pre>
|
297
|
-
</td>
|
298
|
-
</tr>
|
299
|
-
</table>
|
300
|
-
</div>
|
301
|
-
|
302
|
-
</div>
|
303
|
-
|
304
|
-
|
305
|
-
<div id="instance_method_details" class="method_details_list">
|
306
|
-
<h2>Instance Method Details</h2>
|
307
|
-
|
308
|
-
|
309
|
-
<div class="method_details first">
|
310
|
-
<p class="signature first" id="arg-instance_method">
|
311
|
-
|
312
|
-
- (<tt>String</tt>) <strong>arg</strong>
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
</p><div class="docstring">
|
317
|
-
<div class="discussion">
|
318
|
-
|
319
|
-
<p>Get the arg for this Style.</p>
|
320
|
-
|
321
|
-
|
322
|
-
</div>
|
323
|
-
</div>
|
324
|
-
<div class="tags">
|
325
|
-
|
326
|
-
<h3>Returns:</h3>
|
327
|
-
<ul class="return">
|
328
|
-
|
329
|
-
<li>
|
330
|
-
|
331
|
-
|
332
|
-
<span class='type'>(<tt>String</tt>)</span>
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
</li>
|
337
|
-
|
338
|
-
</ul>
|
339
|
-
|
340
|
-
</div><table class="source_code">
|
341
|
-
<tr>
|
342
|
-
<td>
|
343
|
-
<pre class="lines">
|
344
|
-
|
345
|
-
|
346
|
-
</pre>
|
347
|
-
</td>
|
348
|
-
<td>
|
349
|
-
<pre class="code"><span class="info file"># File 'ext/simpler_tiles/style.c'</span>
|
350
|
-
|
351
|
-
static VALUE
|
352
|
-
get_arg(VALUE self){</pre>
|
353
|
-
</td>
|
354
|
-
</tr>
|
355
|
-
</table>
|
356
|
-
</div>
|
357
|
-
|
358
|
-
<div class="method_details ">
|
359
|
-
<p class="signature " id="arg=-instance_method">
|
360
|
-
|
361
|
-
- (<tt>String</tt>) <strong>arg=</strong>
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
</p><div class="docstring">
|
366
|
-
<div class="discussion">
|
367
|
-
|
368
|
-
<p>Set the arg for this Style.</p>
|
369
|
-
|
370
|
-
|
371
|
-
</div>
|
372
|
-
</div>
|
373
|
-
<div class="tags">
|
374
|
-
<h3>Parameters:</h3>
|
375
|
-
<ul class="param">
|
376
|
-
|
377
|
-
<li>
|
378
|
-
|
379
|
-
<span class='name'></span>
|
380
|
-
|
381
|
-
|
382
|
-
<span class='type'>(<tt>String</tt>)</span>
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
</li>
|
387
|
-
|
388
|
-
</ul>
|
389
|
-
|
390
|
-
<h3>Returns:</h3>
|
391
|
-
<ul class="return">
|
392
|
-
|
393
|
-
<li>
|
394
|
-
|
395
|
-
|
396
|
-
<span class='type'>(<tt>String</tt>)</span>
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
</li>
|
401
|
-
|
402
|
-
</ul>
|
403
|
-
|
404
|
-
</div><table class="source_code">
|
405
|
-
<tr>
|
406
|
-
<td>
|
407
|
-
<pre class="lines">
|
408
|
-
|
409
|
-
|
410
|
-
</pre>
|
411
|
-
</td>
|
412
|
-
<td>
|
413
|
-
<pre class="code"><span class="info file"># File 'ext/simpler_tiles/style.c'</span>
|
414
|
-
|
415
|
-
static VALUE
|
416
|
-
set_arg(VALUE self, VALUE arg){</pre>
|
417
|
-
</td>
|
418
|
-
</tr>
|
419
|
-
</table>
|
420
|
-
</div>
|
421
|
-
|
422
|
-
<div class="method_details ">
|
423
|
-
<p class="signature " id="key-instance_method">
|
424
|
-
|
425
|
-
- (<tt>String</tt>) <strong>key</strong>
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
</p><div class="docstring">
|
430
|
-
<div class="discussion">
|
431
|
-
|
432
|
-
<p>Get the key for this Style.</p>
|
433
|
-
|
434
|
-
|
435
|
-
</div>
|
436
|
-
</div>
|
437
|
-
<div class="tags">
|
438
|
-
<h3>Parameters:</h3>
|
439
|
-
<ul class="param">
|
440
|
-
|
441
|
-
<li>
|
442
|
-
|
443
|
-
<span class='name'></span>
|
444
|
-
|
445
|
-
|
446
|
-
<span class='type'>(<tt>String</tt>)</span>
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
</li>
|
451
|
-
|
452
|
-
</ul>
|
453
|
-
|
454
|
-
<h3>Returns:</h3>
|
455
|
-
<ul class="return">
|
456
|
-
|
457
|
-
<li>
|
458
|
-
|
459
|
-
|
460
|
-
<span class='type'>(<tt>String</tt>)</span>
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
</li>
|
465
|
-
|
466
|
-
</ul>
|
467
|
-
|
468
|
-
</div><table class="source_code">
|
469
|
-
<tr>
|
470
|
-
<td>
|
471
|
-
<pre class="lines">
|
472
|
-
|
473
|
-
|
474
|
-
</pre>
|
475
|
-
</td>
|
476
|
-
<td>
|
477
|
-
<pre class="code"><span class="info file"># File 'ext/simpler_tiles/style.c'</span>
|
478
|
-
|
479
|
-
static VALUE
|
480
|
-
get_key(VALUE self){</pre>
|
481
|
-
</td>
|
482
|
-
</tr>
|
483
|
-
</table>
|
484
|
-
</div>
|
485
|
-
|
486
|
-
<div class="method_details ">
|
487
|
-
<p class="signature " id="key=-instance_method">
|
488
|
-
|
489
|
-
- (<tt>String</tt>) <strong>key=</strong>
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
</p><div class="docstring">
|
494
|
-
<div class="discussion">
|
495
|
-
|
496
|
-
<p>Set the key for this Style.</p>
|
497
|
-
|
498
|
-
|
499
|
-
</div>
|
500
|
-
</div>
|
501
|
-
<div class="tags">
|
502
|
-
<h3>Parameters:</h3>
|
503
|
-
<ul class="param">
|
504
|
-
|
505
|
-
<li>
|
506
|
-
|
507
|
-
<span class='name'></span>
|
508
|
-
|
509
|
-
|
510
|
-
<span class='type'>(<tt>String</tt>)</span>
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
</li>
|
515
|
-
|
516
|
-
</ul>
|
517
|
-
|
518
|
-
<h3>Returns:</h3>
|
519
|
-
<ul class="return">
|
520
|
-
|
521
|
-
<li>
|
522
|
-
|
523
|
-
|
524
|
-
<span class='type'>(<tt>String</tt>)</span>
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
</li>
|
529
|
-
|
530
|
-
</ul>
|
531
|
-
|
532
|
-
</div><table class="source_code">
|
533
|
-
<tr>
|
534
|
-
<td>
|
535
|
-
<pre class="lines">
|
536
|
-
|
537
|
-
|
538
|
-
</pre>
|
539
|
-
</td>
|
540
|
-
<td>
|
541
|
-
<pre class="code"><span class="info file"># File 'ext/simpler_tiles/style.c'</span>
|
542
|
-
|
543
|
-
static VALUE
|
544
|
-
set_key(VALUE self, VALUE key){</pre>
|
545
|
-
</td>
|
546
|
-
</tr>
|
547
|
-
</table>
|
548
|
-
</div>
|
549
|
-
|
550
|
-
</div>
|
551
|
-
|
552
|
-
</div>
|
553
|
-
|
554
|
-
<div id="footer">
|
555
|
-
Generated on Sat Dec 8 18:04:34 2012 by
|
556
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
557
|
-
0.7.5 (ruby-1.9.3).
|
558
|
-
</div>
|
559
|
-
|
560
|
-
</body>
|
561
|
-
</html>
|