mapbox-gl-rails 0.47.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,119 @@
1
+ /* Override default control style */
2
+
3
+ .mapbox-gl-draw_ctrl-bottom-left, .mapbox-gl-draw_ctrl-top-left {
4
+ margin-left: 0;
5
+ border-radius: 0 4px 4px 0;
6
+ }
7
+
8
+ .mapbox-gl-draw_ctrl-top-right, .mapbox-gl-draw_ctrl-bottom-right {
9
+ margin-right: 0;
10
+ border-radius: 4px 0 0 4px;
11
+ }
12
+
13
+ .mapbox-gl-draw_ctrl-draw {
14
+ background-color: rgba(0, 0, 0, 0.75);
15
+ border-color: rgba(0, 0, 0, 0.9);
16
+
17
+ > button {
18
+ border-color: rgba(0, 0, 0, 0.9);
19
+ color: rgba(255, 255, 255, 0.5);
20
+ width: 30px;
21
+ height: 30px;
22
+
23
+ &:hover {
24
+ background-color: rgba(0, 0, 0, 0.85);
25
+ color: rgba(255, 255, 255, 0.75);
26
+ }
27
+
28
+ &.active {
29
+ background-color: rgba(0, 0, 0, 0.95);
30
+ color: #fff;
31
+
32
+ &:hover {
33
+ background-color: rgba(0, 0, 0, 0.95);
34
+ color: #fff;
35
+ }
36
+ }
37
+ }
38
+ }
39
+
40
+ .mapbox-gl-draw_ctrl-draw-btn {
41
+ background-repeat: no-repeat;
42
+ background-position: center;
43
+ }
44
+
45
+ .mapbox-gl-draw_point {
46
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIgICB4bWxuczpzdmc9Imh0dHA6Ly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yOTI5NjkgTCA4LjcwMzEyNSAxNC4yOTI5NjkgQyA4LjUwNzM0OCAxNC4wOTcxODcgOC4yNTE1OTMzIDE0IDcuOTk2MDkzOCAxNCB6ICIKICAgICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAsMTAzMi4zNjIyKSIKICAgICAgIGlkPSJyZWN0OTE5OCIgLz4KICA8L2c+Cjwvc3ZnPgo=);
67
+ }
68
+
69
+ .mapboxgl-map {
70
+ &.mouse-pointer .mapboxgl-canvas-container.mapboxgl-interactive {
71
+ cursor: pointer;
72
+ }
73
+
74
+ &.mouse-move .mapboxgl-canvas-container.mapboxgl-interactive {
75
+ cursor: move;
76
+ }
77
+
78
+ &.mouse-add .mapboxgl-canvas-container.mapboxgl-interactive {
79
+ cursor: crosshair;
80
+ }
81
+
82
+ &.mouse-move.mode-direct_select .mapboxgl-canvas-container.mapboxgl-interactive {
83
+ cursor: grab;
84
+ cursor: -moz-grab;
85
+ cursor: -webkit-grab;
86
+ }
87
+
88
+ &.mode-direct_select {
89
+ &.feature-vertex.mouse-move .mapboxgl-canvas-container.mapboxgl-interactive {
90
+ cursor: move;
91
+ }
92
+
93
+ &.feature-midpoint.mouse-pointer .mapboxgl-canvas-container.mapboxgl-interactive {
94
+ cursor: cell;
95
+ }
96
+
97
+ &.feature-feature.mouse-move .mapboxgl-canvas-container.mapboxgl-interactive {
98
+ cursor: move;
99
+ }
100
+ }
101
+
102
+ &.mode-static.mouse-pointer .mapboxgl-canvas-container.mapboxgl-interactive {
103
+ cursor: grab;
104
+ cursor: -moz-grab;
105
+ cursor: -webkit-grab;
106
+ }
107
+ }
108
+
109
+ .mapbox-gl-draw_boxselect {
110
+ pointer-events: none;
111
+ position: absolute;
112
+ top: 0;
113
+ left: 0;
114
+ width: 0;
115
+ height: 0;
116
+ background: rgba(0, 0, 0, 0.1);
117
+ border: 2px dotted #fff;
118
+ opacity: 0.5;
119
+ }
@@ -0,0 +1,199 @@
1
+ /* Basics */
2
+
3
+ .mapboxgl-ctrl-geocoder {
4
+ -webkit-box-sizing: border-box;
5
+ -moz-box-sizing: border-box;
6
+ box-sizing: border-box;
7
+
8
+ * {
9
+ -webkit-box-sizing: border-box;
10
+ -moz-box-sizing: border-box;
11
+ box-sizing: border-box;
12
+
13
+ &:after, &:before {
14
+ -webkit-box-sizing: border-box;
15
+ -moz-box-sizing: border-box;
16
+ box-sizing: border-box;
17
+ }
18
+ }
19
+
20
+ font: 15px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
21
+ position: relative;
22
+ background-color: white;
23
+ width: 33.3333%;
24
+ min-width: 240px;
25
+ max-width: 360px;
26
+ z-index: 1;
27
+ border-radius: 3px;
28
+
29
+ input {
30
+ &[type='text'] {
31
+ font-size: 12px;
32
+ width: 100%;
33
+ border: 0;
34
+ background-color: transparent;
35
+ height: 40px;
36
+ margin: 0;
37
+ color: rgba(0, 0, 0, 0.5);
38
+ padding: 10px 10px 10px 40px;
39
+ text-overflow: ellipsis;
40
+ white-space: nowrap;
41
+ overflow: hidden;
42
+ }
43
+
44
+ &:focus {
45
+ color: rgba(0, 0, 0, 0.75);
46
+ outline: 0;
47
+ box-shadow: none;
48
+ outline: thin dotted\8;
49
+ }
50
+ }
51
+
52
+ .geocoder-icon-search {
53
+ position: absolute;
54
+ top: 10px;
55
+ left: 10px;
56
+ }
57
+
58
+ button {
59
+ padding: 0;
60
+ margin: 0;
61
+ background-color: #fff;
62
+ border: none;
63
+ cursor: pointer;
64
+ }
65
+
66
+ .geocoder-pin-right * {
67
+ background-color: #fff;
68
+ z-index: 2;
69
+ position: absolute;
70
+ right: 10px;
71
+ top: 10px;
72
+ display: none;
73
+ }
74
+
75
+ box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
76
+
77
+ ul {
78
+ box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
79
+ background-color: #fff;
80
+ border-radius: 0 0 3px 3px;
81
+ left: 0;
82
+ list-style: none;
83
+ margin: 0;
84
+ padding: 0;
85
+ position: absolute;
86
+ width: 100%;
87
+ top: 100%;
88
+ z-index: 1000;
89
+ overflow: hidden;
90
+ font-size: 12px;
91
+ }
92
+ }
93
+
94
+ /* Suggestions */
95
+
96
+ .mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-geocoder ul, .mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-geocoder ul {
97
+ top: auto;
98
+ bottom: 100%;
99
+ }
100
+
101
+ .mapboxgl-ctrl-geocoder ul > li {
102
+ > a {
103
+ clear: both;
104
+ cursor: default;
105
+ display: block;
106
+ padding: 5px 10px;
107
+ white-space: nowrap;
108
+ overflow: hidden;
109
+ text-overflow: ellipsis;
110
+ white-space: nowrap;
111
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
112
+ color: #404040;
113
+ }
114
+
115
+ &:last-child > a {
116
+ border-bottom: none;
117
+ }
118
+
119
+ > a:hover {
120
+ color: #202020;
121
+ background-color: #f3f3f3;
122
+ text-decoration: none;
123
+ cursor: pointer;
124
+ }
125
+
126
+ &.active > a {
127
+ color: #202020;
128
+ background-color: #e3e3e3;
129
+ text-decoration: none;
130
+ cursor: pointer;
131
+ }
132
+ }
133
+
134
+ @-webkit-keyframes rotate {
135
+ from {
136
+ -webkit-transform: rotate(0deg);
137
+ }
138
+
139
+ to {
140
+ -webkit-transform: rotate(360deg);
141
+ }
142
+ }
143
+
144
+ @-moz-keyframes rotate {
145
+ from {
146
+ -moz-transform: rotate(0deg);
147
+ }
148
+
149
+ to {
150
+ -moz-transform: rotate(360deg);
151
+ }
152
+ }
153
+
154
+ @-ms-keyframes rotate {
155
+ from {
156
+ -ms-transform: rotate(0deg);
157
+ }
158
+
159
+ to {
160
+ -ms-transform: rotate(360deg);
161
+ }
162
+ }
163
+
164
+ @keyframes rotate {
165
+ from {
166
+ transform: rotate(0deg);
167
+ }
168
+
169
+ to {
170
+ transform: rotate(360deg);
171
+ }
172
+ }
173
+
174
+ /* icons */
175
+
176
+ .geocoder-icon {
177
+ display: inline-block;
178
+ width: 20px;
179
+ height: 20px;
180
+ vertical-align: middle;
181
+ speak: none;
182
+ background-repeat: no-repeat;
183
+ }
184
+
185
+ .geocoder-icon-search {
186
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmVyc2lvbj0iMS4xIj4NCiAgPHBhdGggZD0iTTguNSA0QzYgNCA0IDYgNCA4LjUgNCAxMSA2IDEzIDguNSAxMyA5LjQgMTMgMTAuMiAxMi44IDEwLjggMTIuM0wxMC45IDEyLjMgMTQuMyAxNS43QzE0LjUgMTUuOSAxNC43IDE2IDE1IDE2IDE1LjYgMTYgMTYgMTUuNiAxNiAxNSAxNiAxNC43IDE1LjkgMTQuNSAxNS43IDE0LjNMMTIuMyAxMC45IDEyLjMgMTAuOEMxMi44IDEwLjIgMTMgOS40IDEzIDguNSAxMyA2IDExIDQgOC41IDR6TTguNSA1LjVDMTAuMiA1LjUgMTEuNSA2LjggMTEuNSA4LjUgMTEuNSAxMC4yIDEwLjIgMTEuNSA4LjUgMTEuNSA2LjggMTEuNSA1LjUgMTAuMiA1LjUgOC41IDUuNSA2LjggNi44IDUuNSA4LjUgNS41eiIgZmlsbD0iIzAwMCIvPg0KPC9zdmc+);
187
+ }
188
+
189
+ .geocoder-icon-close {
190
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgdmVyc2lvbj0iMS4xIiBoZWlnaHQ9IjIwIiB3aWR0aD0iMjAiPg0KICA8cGF0aCBkPSJtNSA1IDAgMS41IDMuNSAzLjUtMy41IDMuNSAwIDEuNSAxLjUgMCAzLjUtMy41IDMuNSAzLjUgMS41IDAgMC0xLjUtMy41LTMuNSAzLjUtMy41IDAtMS41LTEuNSAwLTMuNSAzLjUtMy41LTMuNS0xLjUgMHoiIGZpbGw9IiMwMDAiLz4NCjwvc3ZnPg==);
191
+ }
192
+
193
+ .geocoder-icon-loading {
194
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiB2aWV3Qm94PSIwIDAgMjAgMjAiPjxwYXRoIGQ9Im0xMCAyIDAgMy4zYzIuNiAwIDQuNyAyLjEgNC43IDQuN2wzLjMgMGMwLTQuNC0zLjYtOC04LTh6IiBmaWxsPSIjMDAwIi8+PHBhdGggZD0iTTEwIDJDNi44IDIgMy43IDQuMSAyLjYgNy4xIDEuNCAxMCAyLjEgMTMuNiA0LjUgMTUuOGMyLjQgMi40IDYuNCAyLjkgOS40IDEuMiAyLjUtMS40IDQuMi00LjIgNC4yLTctMS4xIDAtMi4yIDAtMy4zIDAgMC4xIDIuMi0xLjcgNC4zLTMuOCA0LjZDOC43IDE1IDYuNCAxMy44IDUuNyAxMS43IDQuOCA5LjcgNS42IDcuMSA3LjYgNiA4LjMgNS42IDkuMSA1LjMgMTAgNS4zYzAtMS4xIDAtMi4yIDAtMy4zeiIgc3R5bGU9ImZpbGw6IzAwMDtvcGFjaXR5OjAuMiIvPjwvc3ZnPg==);
195
+ -webkit-animation: rotate 400ms linear infinite;
196
+ -moz-animation: rotate 400ms linear infinite;
197
+ -ms-animation: rotate 400ms linear infinite;
198
+ animation: rotate 400ms linear infinite;
199
+ }
@@ -14,7 +14,7 @@ module MapboxGl
14
14
  # Major version number
15
15
  MAJOR = 0
16
16
  # Minor version number
17
- MINOR = 47
17
+ MINOR = 48
18
18
  # Smallest version number
19
19
  TINY = 0
20
20
 
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'thor'
4
+ require 'yaml'
4
5
 
5
6
  class Updater < Thor
6
7
  include Thor::Actions
@@ -20,5 +21,27 @@ class Updater < Thor
20
21
  end
21
22
 
22
23
  remove_file 'stylesheets/mapbox-gl.css'
24
+
25
+ # https://www.mapbox.com/mapbox-gl-js/plugins/
26
+ #
27
+ plugins = YAML.load_file('plugins.yaml').fetch('plugins')
28
+
29
+ plugins.each do |plugin_name, options|
30
+ begin
31
+ plugin_base_url = File.join(BASE_URL, "/plugins/mapbox-gl-#{plugin_name}")
32
+ plugin_version = options.fetch('version')
33
+
34
+ get File.join(plugin_base_url, "v#{plugin_version}/#{options.fetch('js')}"), "javascripts/mapbox-gl-#{plugin_name}.js"
35
+ get File.join(plugin_base_url, "v#{plugin_version}/#{options.fetch('css')}"), "stylesheets/mapbox-gl-#{plugin_name}.css"
36
+
37
+ inside destination_root do
38
+ run("sass-convert -F css -T scss stylesheets/mapbox-gl-#{plugin_name}.css stylesheets/mapbox-gl-#{plugin_name}.scss")
39
+ end
40
+
41
+ remove_file "stylesheets/mapbox-gl-#{plugin_name}.css"
42
+ rescue KeyError => error
43
+ raise KeyError, "#{error.message} for #{plugin_name} plugin!"
44
+ end
45
+ end
23
46
  end
24
47
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = `git ls-files -- test/*`.split("\n")
18
18
  gem.require_paths = ['lib']
19
19
 
20
- gem.add_dependency 'railties', '>= 3.2', '< 5.3'
20
+ gem.add_dependency 'railties', '>= 3.2', '< 6.0'
21
21
 
22
22
  gem.add_development_dependency 'activesupport'
23
23
  gem.add_development_dependency 'sass-rails'
data/plugins.yaml ADDED
@@ -0,0 +1,19 @@
1
+ # https://www.mapbox.com/mapbox-gl-js/plugins/
2
+ #
3
+ plugins:
4
+ geocoder:
5
+ version: '2.3.0'
6
+ js: 'mapbox-gl-geocoder.min.js'
7
+ css: 'mapbox-gl-geocoder.css'
8
+ directions:
9
+ version: '3.1.3'
10
+ js: 'mapbox-gl-directions.js'
11
+ css: 'mapbox-gl-directions.css'
12
+ compare:
13
+ version: '0.1.1'
14
+ js: 'mapbox-gl-compare.js'
15
+ css: 'mapbox-gl-compare.css'
16
+ draw:
17
+ version: '1.0.9'
18
+ js: 'mapbox-gl-draw.js'
19
+ css: 'mapbox-gl-draw.css'
@@ -1 +1,5 @@
1
1
  @import mapbox-gl
2
+ @import mapbox-gl-geocoder
3
+ @import mapbox-gl-draw
4
+ @import mapbox-gl-directions
5
+ @import mapbox-gl-compare
@@ -1 +1,5 @@
1
1
  @import 'mapbox-gl';
2
+ @import 'mapbox-gl-geocoder';
3
+ @import 'mapbox-gl-draw';
4
+ @import 'mapbox-gl-directions';
5
+ @import 'mapbox-gl-compare';
@@ -1,3 +1,7 @@
1
1
  /*
2
2
  *= require mapbox-gl
3
+ *= require mapbox-gl-geocoder
4
+ *= require mapbox-gl-draw
5
+ *= require mapbox-gl-directions
6
+ *= require mapbox-gl-compare
3
7
  */
@@ -0,0 +1,50 @@
1
+ require 'test_helper'
2
+
3
+ class MapboxRailsComparePluginTest < ActionDispatch::IntegrationTest
4
+ teardown { clean_sprockets_cache }
5
+
6
+ def plugin
7
+ :compare
8
+ end
9
+
10
+ test "javascript are served" do
11
+ get "/assets/mapbox-gl-#{plugin}.js"
12
+ assert_mapbox_gl_plugin(response)
13
+ end
14
+
15
+ test "stylesheets are served" do
16
+ get "/assets/mapbox-gl-#{plugin}.css"
17
+ assert_mapbox_gl_css_plugin(response)
18
+ end
19
+
20
+ test "stylesheet is available in a css sprockets require" do
21
+ get "/assets/sprockets-require.css"
22
+ assert_mapbox_gl_css_plugin(response)
23
+ end
24
+
25
+ test "stylesheet is available in a sass import" do
26
+ get "/assets/sass-import.css"
27
+ assert_mapbox_gl_css_plugin(response)
28
+ end
29
+
30
+ test "stylesheet is available in a scss import" do
31
+ get "/assets/scss-import.css"
32
+ assert_mapbox_gl_css_plugin(response)
33
+ end
34
+
35
+ private
36
+
37
+ def clean_sprockets_cache
38
+ FileUtils.rm_rf File.expand_path("../dummy/tmp", __FILE__)
39
+ end
40
+
41
+ def assert_mapbox_gl_css_plugin(response, pattern = /mapboxgl-compare/)
42
+ assert_response :success
43
+ assert_match(pattern, response.body)
44
+ end
45
+
46
+ def assert_mapbox_gl_plugin(response, pattern = /mapboxgl-compare/)
47
+ assert_response :success
48
+ assert_match(pattern, response.body)
49
+ end
50
+ end