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