@signalk/charts-plugin 3.7.0 → 3.8.1

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.
Files changed (60) hide show
  1. package/.prettierignore +1 -0
  2. package/CHANGELOG.md +109 -0
  3. package/README.md +72 -0
  4. package/docs/screenshots/1_overview.png +0 -0
  5. package/docs/screenshots/2_region.png +0 -0
  6. package/docs/screenshots/3_jobs.png +0 -0
  7. package/package.json +16 -11
  8. package/plugin/cacheLayout.d.ts +72 -0
  9. package/plugin/cacheLayout.d.ts.map +1 -0
  10. package/plugin/cacheLayout.js +243 -0
  11. package/plugin/cacheLayout.js.map +1 -0
  12. package/plugin/chartDownloader.d.ts +122 -29
  13. package/plugin/chartDownloader.d.ts.map +1 -1
  14. package/plugin/chartDownloader.js +491 -314
  15. package/plugin/chartDownloader.js.map +1 -1
  16. package/plugin/chartDownloaderMBTilesHelpers.d.ts +10 -0
  17. package/plugin/chartDownloaderMBTilesHelpers.d.ts.map +1 -0
  18. package/plugin/chartDownloaderMBTilesHelpers.js +202 -0
  19. package/plugin/chartDownloaderMBTilesHelpers.js.map +1 -0
  20. package/plugin/chartDownloaderTileHelpers.d.ts +30 -0
  21. package/plugin/chartDownloaderTileHelpers.d.ts.map +1 -0
  22. package/plugin/chartDownloaderTileHelpers.js +277 -0
  23. package/plugin/chartDownloaderTileHelpers.js.map +1 -0
  24. package/plugin/charts.d.ts.map +1 -1
  25. package/plugin/charts.js +24 -39
  26. package/plugin/charts.js.map +1 -1
  27. package/plugin/constants.d.ts.map +1 -1
  28. package/plugin/index.d.ts.map +1 -1
  29. package/plugin/index.js +564 -47
  30. package/plugin/index.js.map +1 -1
  31. package/plugin/pluginStatus.js.map +1 -1
  32. package/plugin/projection.js.map +1 -1
  33. package/plugin/tileServer.d.ts +4 -2
  34. package/plugin/tileServer.d.ts.map +1 -1
  35. package/plugin/tileServer.js +37 -8
  36. package/plugin/tileServer.js.map +1 -1
  37. package/plugin/tokenProvider.d.ts +63 -0
  38. package/plugin/tokenProvider.d.ts.map +1 -0
  39. package/plugin/tokenProvider.js +258 -0
  40. package/plugin/tokenProvider.js.map +1 -0
  41. package/plugin/types.d.ts +37 -2
  42. package/plugin/types.d.ts.map +1 -1
  43. package/public/images/jobs.png +0 -0
  44. package/public/images/overview.png +0 -0
  45. package/public/images/region.png +0 -0
  46. package/public/index.html +392 -113
  47. package/public/js/index.js +620 -0
  48. package/public/leaflet/images/downloads.png +0 -0
  49. package/public/leaflet/images/layers-2x.png +0 -0
  50. package/public/leaflet/images/layers.png +0 -0
  51. package/public/leaflet/images/lifebuoy.png +0 -0
  52. package/public/leaflet/images/spritesheet-2x.png +0 -0
  53. package/public/leaflet/images/spritesheet.svg +156 -0
  54. package/public/leaflet/leaflet.css +677 -0
  55. package/public/leaflet/leaflet.draw.css +253 -0
  56. package/public/leaflet/leaflet.draw.js +2957 -0
  57. package/public/leaflet/leaflet.js +7467 -0
  58. package/public/style.css +351 -37
  59. package/docs/screenshots/1_placeholder.png +0 -0
  60. package/public/index.js +0 -349
@@ -0,0 +1,677 @@
1
+ /* required styles */
2
+
3
+ .leaflet-pane,
4
+ .leaflet-tile,
5
+ .leaflet-marker-icon,
6
+ .leaflet-marker-shadow,
7
+ .leaflet-tile-container,
8
+ .leaflet-pane > svg,
9
+ .leaflet-pane > canvas,
10
+ .leaflet-zoom-box,
11
+ .leaflet-image-layer,
12
+ .leaflet-layer {
13
+ position: absolute;
14
+ left: 0;
15
+ top: 0;
16
+ }
17
+ .leaflet-container {
18
+ overflow: hidden;
19
+ }
20
+ .leaflet-tile,
21
+ .leaflet-marker-icon,
22
+ .leaflet-marker-shadow {
23
+ -webkit-user-select: none;
24
+ -moz-user-select: none;
25
+ user-select: none;
26
+ -webkit-user-drag: none;
27
+ }
28
+ /* Prevents IE11 from highlighting tiles in blue */
29
+ .leaflet-tile::selection {
30
+ background: transparent;
31
+ }
32
+ /* Safari renders non-retina tile on retina better with this, but Chrome is worse */
33
+ .leaflet-safari .leaflet-tile {
34
+ image-rendering: -webkit-optimize-contrast;
35
+ }
36
+ /* hack that prevents hw layers "stretching" when loading new tiles */
37
+ .leaflet-safari .leaflet-tile-container {
38
+ width: 1600px;
39
+ height: 1600px;
40
+ -webkit-transform-origin: 0 0;
41
+ }
42
+ .leaflet-marker-icon,
43
+ .leaflet-marker-shadow {
44
+ display: block;
45
+ }
46
+ /* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
47
+ /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
48
+ .leaflet-container .leaflet-overlay-pane svg {
49
+ max-width: none !important;
50
+ max-height: none !important;
51
+ }
52
+ .leaflet-container .leaflet-marker-pane img,
53
+ .leaflet-container .leaflet-shadow-pane img,
54
+ .leaflet-container .leaflet-tile-pane img,
55
+ .leaflet-container img.leaflet-image-layer,
56
+ .leaflet-container .leaflet-tile {
57
+ max-width: none !important;
58
+ max-height: none !important;
59
+ width: auto;
60
+ padding: 0;
61
+ }
62
+
63
+ .leaflet-container img.leaflet-tile {
64
+ /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
65
+ mix-blend-mode: plus-lighter;
66
+ }
67
+
68
+ .leaflet-container.leaflet-touch-zoom {
69
+ -ms-touch-action: pan-x pan-y;
70
+ touch-action: pan-x pan-y;
71
+ }
72
+ .leaflet-container.leaflet-touch-drag {
73
+ -ms-touch-action: pinch-zoom;
74
+ /* Fallback for FF which doesn't support pinch-zoom */
75
+ touch-action: none;
76
+ touch-action: pinch-zoom;
77
+ }
78
+ .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
79
+ -ms-touch-action: none;
80
+ touch-action: none;
81
+ }
82
+ .leaflet-container {
83
+ -webkit-tap-highlight-color: transparent;
84
+ }
85
+ .leaflet-container a {
86
+ -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
87
+ }
88
+ .leaflet-tile {
89
+ filter: inherit;
90
+ visibility: hidden;
91
+ }
92
+ .leaflet-tile-loaded {
93
+ visibility: inherit;
94
+ }
95
+ .leaflet-zoom-box {
96
+ width: 0;
97
+ height: 0;
98
+ -moz-box-sizing: border-box;
99
+ box-sizing: border-box;
100
+ z-index: 800;
101
+ }
102
+ /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
103
+ .leaflet-overlay-pane svg {
104
+ -moz-user-select: none;
105
+ }
106
+
107
+ .leaflet-pane {
108
+ z-index: 400;
109
+ }
110
+
111
+ .leaflet-tile-pane {
112
+ z-index: 200;
113
+ }
114
+ .leaflet-overlay-pane {
115
+ z-index: 400;
116
+ }
117
+ .leaflet-shadow-pane {
118
+ z-index: 500;
119
+ }
120
+ .leaflet-marker-pane {
121
+ z-index: 600;
122
+ }
123
+ .leaflet-tooltip-pane {
124
+ z-index: 650;
125
+ }
126
+ .leaflet-popup-pane {
127
+ z-index: 700;
128
+ }
129
+
130
+ .leaflet-map-pane canvas {
131
+ z-index: 100;
132
+ }
133
+ .leaflet-map-pane svg {
134
+ z-index: 200;
135
+ }
136
+
137
+ .leaflet-vml-shape {
138
+ width: 1px;
139
+ height: 1px;
140
+ }
141
+ .lvml {
142
+ behavior: url(#default#VML);
143
+ display: inline-block;
144
+ position: absolute;
145
+ }
146
+
147
+ /* control positioning */
148
+
149
+ .leaflet-control {
150
+ position: relative;
151
+ z-index: 800;
152
+ pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
153
+ pointer-events: auto;
154
+ }
155
+ .leaflet-top,
156
+ .leaflet-bottom {
157
+ position: absolute;
158
+ z-index: 1000;
159
+ pointer-events: none;
160
+ }
161
+ .leaflet-top {
162
+ top: 0;
163
+ }
164
+ .leaflet-right {
165
+ right: 0;
166
+ }
167
+ .leaflet-bottom {
168
+ bottom: 0;
169
+ }
170
+ .leaflet-left {
171
+ left: 0;
172
+ }
173
+ .leaflet-control {
174
+ float: left;
175
+ clear: both;
176
+ }
177
+ .leaflet-right .leaflet-control {
178
+ float: right;
179
+ }
180
+ .leaflet-top .leaflet-control {
181
+ margin-top: 10px;
182
+ }
183
+ .leaflet-bottom .leaflet-control {
184
+ margin-bottom: 10px;
185
+ }
186
+ .leaflet-left .leaflet-control {
187
+ margin-left: 10px;
188
+ }
189
+ .leaflet-right .leaflet-control {
190
+ margin-right: 10px;
191
+ }
192
+
193
+ /* zoom and fade animations */
194
+
195
+ .leaflet-fade-anim .leaflet-popup {
196
+ opacity: 0;
197
+ -webkit-transition: opacity 0.2s linear;
198
+ -moz-transition: opacity 0.2s linear;
199
+ transition: opacity 0.2s linear;
200
+ }
201
+ .leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
202
+ opacity: 1;
203
+ }
204
+ .leaflet-zoom-animated {
205
+ -webkit-transform-origin: 0 0;
206
+ -ms-transform-origin: 0 0;
207
+ transform-origin: 0 0;
208
+ }
209
+ svg.leaflet-zoom-animated {
210
+ will-change: transform;
211
+ }
212
+
213
+ .leaflet-zoom-anim .leaflet-zoom-animated {
214
+ -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
215
+ -moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
216
+ transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1);
217
+ }
218
+ .leaflet-zoom-anim .leaflet-tile,
219
+ .leaflet-pan-anim .leaflet-tile {
220
+ -webkit-transition: none;
221
+ -moz-transition: none;
222
+ transition: none;
223
+ }
224
+
225
+ .leaflet-zoom-anim .leaflet-zoom-hide {
226
+ visibility: hidden;
227
+ }
228
+
229
+ /* cursors */
230
+
231
+ .leaflet-interactive {
232
+ cursor: pointer;
233
+ }
234
+ .leaflet-grab {
235
+ cursor: -webkit-grab;
236
+ cursor: -moz-grab;
237
+ cursor: grab;
238
+ }
239
+ .leaflet-crosshair,
240
+ .leaflet-crosshair .leaflet-interactive {
241
+ cursor: crosshair;
242
+ }
243
+ .leaflet-popup-pane,
244
+ .leaflet-control {
245
+ cursor: auto;
246
+ }
247
+ .leaflet-dragging .leaflet-grab,
248
+ .leaflet-dragging .leaflet-grab .leaflet-interactive,
249
+ .leaflet-dragging .leaflet-marker-draggable {
250
+ cursor: move;
251
+ cursor: -webkit-grabbing;
252
+ cursor: -moz-grabbing;
253
+ cursor: grabbing;
254
+ }
255
+
256
+ /* marker & overlays interactivity */
257
+ .leaflet-marker-icon,
258
+ .leaflet-marker-shadow,
259
+ .leaflet-image-layer,
260
+ .leaflet-pane > svg path,
261
+ .leaflet-tile-container {
262
+ pointer-events: none;
263
+ }
264
+
265
+ .leaflet-marker-icon.leaflet-interactive,
266
+ .leaflet-image-layer.leaflet-interactive,
267
+ .leaflet-pane > svg path.leaflet-interactive,
268
+ svg.leaflet-image-layer.leaflet-interactive path {
269
+ pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
270
+ pointer-events: auto;
271
+ }
272
+
273
+ /* visual tweaks */
274
+
275
+ .leaflet-container {
276
+ background: #ddd;
277
+ outline-offset: 1px;
278
+ }
279
+ .leaflet-container a {
280
+ color: #0078a8;
281
+ }
282
+ .leaflet-zoom-box {
283
+ border: 2px dotted #38f;
284
+ background: rgba(255, 255, 255, 0.5);
285
+ }
286
+
287
+ /* general typography */
288
+ .leaflet-container {
289
+ font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
290
+ font-size: 12px;
291
+ font-size: 0.75rem;
292
+ line-height: 1.5;
293
+ }
294
+
295
+ /* general toolbar styles */
296
+
297
+ .leaflet-bar {
298
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
299
+ border-radius: 4px;
300
+ }
301
+ .leaflet-bar a {
302
+ background-color: #fff;
303
+ border-bottom: 1px solid #ccc;
304
+ width: 26px;
305
+ height: 26px;
306
+ line-height: 26px;
307
+ display: block;
308
+ text-align: center;
309
+ text-decoration: none;
310
+ color: black;
311
+ }
312
+ .leaflet-bar a,
313
+ .leaflet-control-layers-toggle {
314
+ background-position: 50% 50%;
315
+ background-repeat: no-repeat;
316
+ display: block;
317
+ }
318
+ .leaflet-bar a:hover,
319
+ .leaflet-bar a:focus {
320
+ background-color: #f4f4f4;
321
+ }
322
+ .leaflet-bar a:first-child {
323
+ border-top-left-radius: 4px;
324
+ border-top-right-radius: 4px;
325
+ }
326
+ .leaflet-bar a:last-child {
327
+ border-bottom-left-radius: 4px;
328
+ border-bottom-right-radius: 4px;
329
+ border-bottom: none;
330
+ }
331
+ .leaflet-bar a.leaflet-disabled {
332
+ cursor: default;
333
+ background-color: #f4f4f4;
334
+ color: #bbb;
335
+ }
336
+
337
+ .leaflet-touch .leaflet-bar a {
338
+ width: 30px;
339
+ height: 30px;
340
+ line-height: 30px;
341
+ }
342
+ .leaflet-touch .leaflet-bar a:first-child {
343
+ border-top-left-radius: 2px;
344
+ border-top-right-radius: 2px;
345
+ }
346
+ .leaflet-touch .leaflet-bar a:last-child {
347
+ border-bottom-left-radius: 2px;
348
+ border-bottom-right-radius: 2px;
349
+ }
350
+
351
+ /* zoom control */
352
+
353
+ .leaflet-control-zoom-in,
354
+ .leaflet-control-zoom-out {
355
+ font:
356
+ bold 18px 'Lucida Console',
357
+ Monaco,
358
+ monospace;
359
+ text-indent: 1px;
360
+ }
361
+
362
+ .leaflet-touch .leaflet-control-zoom-in,
363
+ .leaflet-touch .leaflet-control-zoom-out {
364
+ font-size: 22px;
365
+ }
366
+
367
+ /* layers control */
368
+
369
+ .leaflet-control-layers {
370
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
371
+ background: #fff;
372
+ border-radius: 5px;
373
+ }
374
+ .leaflet-control-layers-toggle {
375
+ background-image: url(images/layers.png);
376
+ width: 36px;
377
+ height: 36px;
378
+ }
379
+ .leaflet-retina .leaflet-control-layers-toggle {
380
+ background-image: url(images/layers-2x.png);
381
+ background-size: 26px 26px;
382
+ }
383
+ .leaflet-touch .leaflet-control-layers-toggle {
384
+ width: 44px;
385
+ height: 44px;
386
+ }
387
+ .leaflet-control-layers .leaflet-control-layers-list,
388
+ .leaflet-control-layers-expanded .leaflet-control-layers-toggle {
389
+ display: none;
390
+ }
391
+ .leaflet-control-layers-expanded .leaflet-control-layers-list {
392
+ display: block;
393
+ position: relative;
394
+ }
395
+ .leaflet-control-layers-expanded {
396
+ padding: 6px 10px 6px 6px;
397
+ color: #333;
398
+ background: #fff;
399
+ }
400
+ .leaflet-control-layers-scrollbar {
401
+ overflow-y: scroll;
402
+ overflow-x: hidden;
403
+ padding-right: 5px;
404
+ }
405
+ .leaflet-control-layers-selector {
406
+ margin-top: 2px;
407
+ position: relative;
408
+ top: 1px;
409
+ }
410
+ .leaflet-control-layers label {
411
+ display: block;
412
+ font-size: 13px;
413
+ font-size: 1.08333em;
414
+ }
415
+ .leaflet-control-layers-separator {
416
+ height: 0;
417
+ border-top: 1px solid #ddd;
418
+ margin: 5px -10px 5px -6px;
419
+ }
420
+
421
+ /* Default icon URLs */
422
+ .leaflet-default-icon-path {
423
+ /* used only in path-guessing heuristic, see L.Icon.Default */
424
+ background-image: url(images/marker-icon.png);
425
+ }
426
+
427
+ /* attribution and scale controls */
428
+
429
+ .leaflet-container .leaflet-control-attribution {
430
+ background: #fff;
431
+ background: rgba(255, 255, 255, 0.8);
432
+ margin: 0;
433
+ }
434
+ .leaflet-control-attribution,
435
+ .leaflet-control-scale-line {
436
+ padding: 0 5px;
437
+ color: #333;
438
+ line-height: 1.4;
439
+ }
440
+ .leaflet-control-attribution a {
441
+ text-decoration: none;
442
+ }
443
+ .leaflet-control-attribution a:hover,
444
+ .leaflet-control-attribution a:focus {
445
+ text-decoration: underline;
446
+ }
447
+ .leaflet-attribution-flag {
448
+ display: inline !important;
449
+ vertical-align: baseline !important;
450
+ width: 1em;
451
+ height: 0.6669em;
452
+ }
453
+ .leaflet-left .leaflet-control-scale {
454
+ margin-left: 5px;
455
+ }
456
+ .leaflet-bottom .leaflet-control-scale {
457
+ margin-bottom: 5px;
458
+ }
459
+ .leaflet-control-scale-line {
460
+ border: 2px solid #777;
461
+ border-top: none;
462
+ line-height: 1.1;
463
+ padding: 2px 5px 1px;
464
+ white-space: nowrap;
465
+ -moz-box-sizing: border-box;
466
+ box-sizing: border-box;
467
+ background: rgba(255, 255, 255, 0.8);
468
+ text-shadow: 1px 1px #fff;
469
+ }
470
+ .leaflet-control-scale-line:not(:first-child) {
471
+ border-top: 2px solid #777;
472
+ border-bottom: none;
473
+ margin-top: -2px;
474
+ }
475
+ .leaflet-control-scale-line:not(:first-child):not(:last-child) {
476
+ border-bottom: 2px solid #777;
477
+ }
478
+
479
+ .leaflet-touch .leaflet-control-attribution,
480
+ .leaflet-touch .leaflet-control-layers,
481
+ .leaflet-touch .leaflet-bar {
482
+ box-shadow: none;
483
+ }
484
+ .leaflet-touch .leaflet-control-layers,
485
+ .leaflet-touch .leaflet-bar {
486
+ border: 2px solid rgba(0, 0, 0, 0.2);
487
+ background-clip: padding-box;
488
+ }
489
+
490
+ /* popup */
491
+
492
+ .leaflet-popup {
493
+ position: absolute;
494
+ text-align: center;
495
+ margin-bottom: 20px;
496
+ }
497
+ .leaflet-popup-content-wrapper {
498
+ padding: 1px;
499
+ text-align: left;
500
+ border-radius: 12px;
501
+ }
502
+ .leaflet-popup-content {
503
+ margin: 13px 24px 13px 20px;
504
+ line-height: 1.3;
505
+ font-size: 13px;
506
+ font-size: 1.08333em;
507
+ min-height: 1px;
508
+ }
509
+ .leaflet-popup-content p {
510
+ margin: 17px 0;
511
+ margin: 1.3em 0;
512
+ }
513
+ .leaflet-popup-tip-container {
514
+ width: 40px;
515
+ height: 20px;
516
+ position: absolute;
517
+ left: 50%;
518
+ margin-top: -1px;
519
+ margin-left: -20px;
520
+ overflow: hidden;
521
+ pointer-events: none;
522
+ }
523
+ .leaflet-popup-tip {
524
+ width: 17px;
525
+ height: 17px;
526
+ padding: 1px;
527
+
528
+ margin: -10px auto 0;
529
+ pointer-events: auto;
530
+
531
+ -webkit-transform: rotate(45deg);
532
+ -moz-transform: rotate(45deg);
533
+ -ms-transform: rotate(45deg);
534
+ transform: rotate(45deg);
535
+ }
536
+ .leaflet-popup-content-wrapper,
537
+ .leaflet-popup-tip {
538
+ background: white;
539
+ color: #333;
540
+ box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
541
+ }
542
+ .leaflet-container a.leaflet-popup-close-button {
543
+ position: absolute;
544
+ top: 0;
545
+ right: 0;
546
+ border: none;
547
+ text-align: center;
548
+ width: 24px;
549
+ height: 24px;
550
+ font:
551
+ 16px/24px Tahoma,
552
+ Verdana,
553
+ sans-serif;
554
+ color: #757575;
555
+ text-decoration: none;
556
+ background: transparent;
557
+ }
558
+ .leaflet-container a.leaflet-popup-close-button:hover,
559
+ .leaflet-container a.leaflet-popup-close-button:focus {
560
+ color: #585858;
561
+ }
562
+ .leaflet-popup-scrolled {
563
+ overflow: auto;
564
+ }
565
+
566
+ .leaflet-oldie .leaflet-popup-content-wrapper {
567
+ -ms-zoom: 1;
568
+ }
569
+ .leaflet-oldie .leaflet-popup-tip {
570
+ width: 24px;
571
+ margin: 0 auto;
572
+
573
+ -ms-filter: 'progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)';
574
+ filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
575
+ }
576
+
577
+ .leaflet-oldie .leaflet-control-zoom,
578
+ .leaflet-oldie .leaflet-control-layers,
579
+ .leaflet-oldie .leaflet-popup-content-wrapper,
580
+ .leaflet-oldie .leaflet-popup-tip {
581
+ border: 1px solid #999;
582
+ }
583
+
584
+ /* div icon */
585
+
586
+ .leaflet-div-icon {
587
+ background: #fff;
588
+ border: 1px solid #666;
589
+ }
590
+
591
+ /* Tooltip */
592
+ /* Base styles for the element that has a tooltip */
593
+ .leaflet-tooltip {
594
+ position: absolute;
595
+ padding: 6px;
596
+ background-color: #fff;
597
+ border: 1px solid #fff;
598
+ border-radius: 3px;
599
+ color: #222;
600
+ white-space: nowrap;
601
+ -webkit-user-select: none;
602
+ -moz-user-select: none;
603
+ -ms-user-select: none;
604
+ user-select: none;
605
+ pointer-events: none;
606
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
607
+ }
608
+ .leaflet-tooltip.leaflet-interactive {
609
+ cursor: pointer;
610
+ pointer-events: auto;
611
+ }
612
+ .leaflet-tooltip-top:before,
613
+ .leaflet-tooltip-bottom:before,
614
+ .leaflet-tooltip-left:before,
615
+ .leaflet-tooltip-right:before {
616
+ position: absolute;
617
+ pointer-events: none;
618
+ border: 6px solid transparent;
619
+ background: transparent;
620
+ content: '';
621
+ }
622
+
623
+ /* Directions */
624
+
625
+ .leaflet-tooltip-bottom {
626
+ margin-top: 6px;
627
+ }
628
+ .leaflet-tooltip-top {
629
+ margin-top: -6px;
630
+ }
631
+ .leaflet-tooltip-bottom:before,
632
+ .leaflet-tooltip-top:before {
633
+ left: 50%;
634
+ margin-left: -6px;
635
+ }
636
+ .leaflet-tooltip-top:before {
637
+ bottom: 0;
638
+ margin-bottom: -12px;
639
+ border-top-color: #fff;
640
+ }
641
+ .leaflet-tooltip-bottom:before {
642
+ top: 0;
643
+ margin-top: -12px;
644
+ margin-left: -6px;
645
+ border-bottom-color: #fff;
646
+ }
647
+ .leaflet-tooltip-left {
648
+ margin-left: -6px;
649
+ }
650
+ .leaflet-tooltip-right {
651
+ margin-left: 6px;
652
+ }
653
+ .leaflet-tooltip-left:before,
654
+ .leaflet-tooltip-right:before {
655
+ top: 50%;
656
+ margin-top: -6px;
657
+ }
658
+ .leaflet-tooltip-left:before {
659
+ right: 0;
660
+ margin-right: -12px;
661
+ border-left-color: #fff;
662
+ }
663
+ .leaflet-tooltip-right:before {
664
+ left: 0;
665
+ margin-left: -12px;
666
+ border-right-color: #fff;
667
+ }
668
+
669
+ /* Printing */
670
+
671
+ @media print {
672
+ /* Prevent printers from removing background-images of controls. */
673
+ .leaflet-control {
674
+ -webkit-print-color-adjust: exact;
675
+ print-color-adjust: exact;
676
+ }
677
+ }