@vtx/cs-map 1.0.80 → 1.0.81

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 (32) hide show
  1. package/lib/cesium-tiles-layer/CesiumTilesLayer.js +5 -1
  2. package/lib/cesium-tiles-layer/CesiumTilesLayer.js.map +1 -1
  3. package/lib/feature-layer/FeatureLayer.js +5 -1
  4. package/lib/feature-layer/FeatureLayer.js.map +1 -1
  5. package/lib/index.js +7 -0
  6. package/lib/index.js.map +1 -1
  7. package/lib/map/InfoTool/index.js +2 -1
  8. package/lib/map/InfoTool/index.js.map +1 -1
  9. package/lib/map/index.js +12 -5
  10. package/lib/map/index.js.map +1 -1
  11. package/lib/navigation/assets/arrows_e_active.png +0 -0
  12. package/lib/navigation/assets/arrows_n_active.png +0 -0
  13. package/lib/navigation/assets/arrows_s_active.png +0 -0
  14. package/lib/navigation/assets/arrows_w_active.png +0 -0
  15. package/lib/navigation/assets/compass_active.png +0 -0
  16. package/lib/navigation/assets/ring.png +0 -0
  17. package/lib/navigation/assets/ring_active.png +0 -0
  18. package/lib/navigation/assets/tilt.png +0 -0
  19. package/lib/navigation/assets/tiltbar.png +0 -0
  20. package/lib/navigation/assets/zoom.png +0 -0
  21. package/lib/navigation/assets/zoom_active_in.png +0 -0
  22. package/lib/navigation/assets/zoom_active_out.png +0 -0
  23. package/lib/navigation/assets/zoombar.png +0 -0
  24. package/lib/navigation/index.js +306 -0
  25. package/lib/navigation/index.js.map +1 -0
  26. package/lib/navigation/style/css.js +4 -0
  27. package/lib/navigation/style/css.js.map +1 -0
  28. package/lib/navigation/style/index.css +160 -0
  29. package/lib/navigation/style/index.js +4 -0
  30. package/lib/navigation/style/index.js.map +1 -0
  31. package/lib/navigation/style/index.less +176 -0
  32. package/package.json +1 -1
@@ -0,0 +1,176 @@
1
+ .cs-map-navigation {
2
+ display: block;
3
+ position: absolute;
4
+ top: 0;
5
+ right: 0;
6
+ padding: 0;
7
+ box-sizing: content-box;
8
+ height: 300px;
9
+ width: 128px;
10
+ user-select: none;
11
+
12
+ &-compass {
13
+ pointer-events: auto;
14
+ position: absolute;
15
+ right: 10px;
16
+ top: 10px;
17
+ width: 128px;
18
+ height: 128px;
19
+ overflow: hidden;
20
+ z-index: 9;
21
+
22
+ &-ring {
23
+ cursor: pointer;
24
+ position: absolute;
25
+ width: 128px;
26
+ height: 128px;
27
+ top: 0;
28
+ transform: rotate(0rad);
29
+ background-image: url('../assets/ring.png');
30
+
31
+ &:active {
32
+ background-image: url('../assets/ring_active.png');
33
+ }
34
+
35
+ &-center {
36
+ width: 16px;
37
+ height: 16px;
38
+ position: absolute;
39
+ top: 18px;
40
+ left: 56px;
41
+ }
42
+ }
43
+ }
44
+
45
+ &-arrows {
46
+ position: absolute;
47
+ width: 128px;
48
+ height: 128px;
49
+ top: 10px;
50
+ right: 10px;
51
+ z-index: 8;
52
+ background-image: url('../assets/compass_active.png');
53
+ visibility: hidden;
54
+
55
+ &-e-active,
56
+ &-n-active,
57
+ &-s-active,
58
+ &-w-active {
59
+ cursor: pointer;
60
+ position: absolute;
61
+ width: 24px;
62
+ height: 24px;
63
+ z-index: 10;
64
+ }
65
+
66
+ &-e-active {
67
+ top: 62px;
68
+ left: 62px;
69
+
70
+ &:active {
71
+ background-image: url('../assets/arrows_e_active.png');
72
+ }
73
+ }
74
+
75
+ &-n-active {
76
+ top: 42px;
77
+ left: 42px;
78
+
79
+ &:active {
80
+ background-image: url('../assets/arrows_n_active.png');
81
+ }
82
+ }
83
+
84
+ &-s-active {
85
+ top: 82px;
86
+ left: 42px;
87
+
88
+ &:active {
89
+ background-image: url('../assets/arrows_s_active.png');
90
+ }
91
+ }
92
+
93
+ &-w-active {
94
+ top: 62px;
95
+ left: 24px;
96
+
97
+ &:active {
98
+ background-image: url('../assets/arrows_w_active.png');
99
+ }
100
+ }
101
+ }
102
+
103
+ &-zoom {
104
+ position: absolute;
105
+ width: 30px;
106
+ height: 150px;
107
+ background-image: url('../assets/zoom.png');
108
+ top: 130px;
109
+ right: 60px;
110
+ visibility: hidden;
111
+
112
+ &-in {
113
+ position: absolute;
114
+ z-index: 99;
115
+ top: -2px;
116
+ width: 32px;
117
+ height: 32px;
118
+ cursor: pointer;
119
+
120
+ &:active {
121
+ background-image: url('../assets/zoom_active_in.png');
122
+ }
123
+ }
124
+
125
+ &-out {
126
+ position: absolute;
127
+ z-index: 99;
128
+ width: 32px;
129
+ height: 32px;
130
+ bottom: -2px;
131
+ cursor: pointer;
132
+
133
+ &:active {
134
+ background-image: url('../assets/zoom_active_out.png');
135
+ }
136
+ }
137
+
138
+ &-bar {
139
+ position: absolute;
140
+ cursor: pointer;
141
+ width: 32px;
142
+ height: 32px;
143
+ top: 65px;
144
+ background-image: url('../assets/zoombar.png');
145
+ }
146
+ }
147
+
148
+ &-angle {
149
+ position: absolute;
150
+ width: 128px;
151
+ height: 128px;
152
+ background-image: url('../assets/tilt.png');
153
+ right: 6px;
154
+ top: 6px;
155
+ //visibility: hidden;
156
+
157
+ &-bar {
158
+ cursor: pointer;
159
+ position: absolute;
160
+ width: 16px;
161
+ height: 16px;
162
+ background-image: url('../assets/tiltbar.png');
163
+ background-repeat: no-repeat;
164
+ z-index: 10;
165
+ left: 58px;
166
+ top: 5px;
167
+ //visibility: hidden;
168
+ }
169
+ }
170
+
171
+ &:hover, &:active {
172
+ .cs-map-navigation-arrows, .cs-map-navigation-zoom, .cs-map-navigation-angle {
173
+ visibility: visible;
174
+ }
175
+ }
176
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/cs-map",
3
- "version": "1.0.80",
3
+ "version": "1.0.81",
4
4
  "description": "React components for Vortex",
5
5
  "keywords": [
6
6
  "react",