@arunawalpola/leaflet.polylinemeasure 1.0.0

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.
package/LICENSE.txt ADDED
@@ -0,0 +1,26 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2012-2013, Jürgen Treml
4
+ Copyright (c) 2017, PPete
5
+ All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,59 @@
1
+ /*********************************************************
2
+ ** **
3
+ ** Leaflet Plugin "Leaflet.PolylineMeasure" **
4
+ ** File "Leaflet.PolylineMeasure.css" **
5
+ ** Date: 2023-05-26 **
6
+ ** **
7
+ *********************************************************/
8
+
9
+
10
+ a.polyline-measure-controlOnBgColor, a.polyline-measure-controlOnBgColor:hover {
11
+ background-color: #8f8;
12
+ }
13
+
14
+ .polyline-measure-unicode-icon {
15
+ font-size: 19px;
16
+ font-weight: bold;
17
+ }
18
+
19
+ a.polyline-measure-clearControl:active {
20
+ background-color: #f88;
21
+ }
22
+
23
+ .polyline-measure-unicode-icon, .polyline-measure-clearControl, #unitControlId
24
+ {
25
+ cursor: pointer;
26
+ }
27
+
28
+ .polyline-measure-tooltip {
29
+ font: 10px Arial, Helvetica, sans-serif;
30
+ line-height: 10px;
31
+ background-color: rgba(255, 255, 170, 0.7);
32
+ border-radius: 3px;
33
+ box-shadow: 1px 1px 4px #888;
34
+ margin: 0;
35
+ padding: 2px;
36
+ width: auto !important;
37
+ height: auto !important;
38
+ white-space: nowrap;
39
+ text-align: right;
40
+ }
41
+
42
+ .polyline-measure-tooltip-end {
43
+ background-color: rgba(255, 255, 40, 0.7);
44
+ }
45
+
46
+ .polyline-measure-tooltip-total {
47
+ color: #006;
48
+ font-weight: bold;
49
+ }
50
+
51
+ .polyline-measure-tooltip-difference {
52
+ color: #060;
53
+ font-style: italic;
54
+ }
55
+
56
+ .polyline-measure-popupTooltip {
57
+ font: 11px Arial, Helvetica, sans-serif;
58
+ line-height: 11px;
59
+ }