mapbox-gl-rails 2.3.1 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/mapbox-gl.js +8604 -8490
- data/app/assets/stylesheets/mapbox-gl.scss +57 -0
- data/lib/mapbox-gl/rails/version.rb +1 -1
- metadata +3 -3
@@ -136,6 +136,7 @@
|
|
136
136
|
box-sizing: border-box;
|
137
137
|
background-color: transparent;
|
138
138
|
cursor: pointer;
|
139
|
+
overflow: hidden;
|
139
140
|
|
140
141
|
+ button {
|
141
142
|
border-top: 1px solid #ddd;
|
@@ -704,6 +705,30 @@ a.mapboxgl-ctrl-logo {
|
|
704
705
|
}
|
705
706
|
}
|
706
707
|
|
708
|
+
.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading {
|
709
|
+
width: 0;
|
710
|
+
height: 0;
|
711
|
+
|
712
|
+
&:after {
|
713
|
+
content: "";
|
714
|
+
border-bottom: 7.5px solid #4aa1eb;
|
715
|
+
position: absolute;
|
716
|
+
}
|
717
|
+
|
718
|
+
&:before {
|
719
|
+
content: "";
|
720
|
+
border-bottom: 7.5px solid #4aa1eb;
|
721
|
+
position: absolute;
|
722
|
+
border-left: 7.5px solid transparent;
|
723
|
+
transform: translateY(-28px) skewY(-20deg);
|
724
|
+
}
|
725
|
+
|
726
|
+
&:after {
|
727
|
+
border-right: 7.5px solid transparent;
|
728
|
+
transform: translate(7.5px, -28px) skewY(20deg);
|
729
|
+
}
|
730
|
+
}
|
731
|
+
|
707
732
|
@keyframes mapboxgl-user-location-dot-pulse {
|
708
733
|
0% {
|
709
734
|
transform: scale(1);
|
@@ -764,3 +789,35 @@ a.mapboxgl-ctrl-logo {
|
|
764
789
|
display: none;
|
765
790
|
}
|
766
791
|
}
|
792
|
+
|
793
|
+
.mapboxgl-scroll-zoom-blocker, .mapboxgl-touch-pan-blocker {
|
794
|
+
color: #fff;
|
795
|
+
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;
|
796
|
+
justify-content: center;
|
797
|
+
text-align: center;
|
798
|
+
position: absolute;
|
799
|
+
display: flex;
|
800
|
+
align-items: center;
|
801
|
+
top: 0;
|
802
|
+
left: 0;
|
803
|
+
width: 100%;
|
804
|
+
height: 100%;
|
805
|
+
background: rgba(0, 0, 0, 0.7);
|
806
|
+
opacity: 0;
|
807
|
+
pointer-events: none;
|
808
|
+
transition: opacity .75s ease-in-out;
|
809
|
+
transition-delay: 1s;
|
810
|
+
}
|
811
|
+
|
812
|
+
.mapboxgl-scroll-zoom-blocker-show, .mapboxgl-touch-pan-blocker-show {
|
813
|
+
opacity: 1;
|
814
|
+
transition: opacity .1s ease-in-out;
|
815
|
+
}
|
816
|
+
|
817
|
+
.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page {
|
818
|
+
touch-action: pan-x pan-y;
|
819
|
+
|
820
|
+
.mapboxgl-canvas {
|
821
|
+
touch-action: pan-x pan-y;
|
822
|
+
}
|
823
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mapbox-gl-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikita Bulai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubygems_version: 3.
|
142
|
+
rubygems_version: 3.0.8
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: an asset gemification of the Mapbox GL JS library
|