geoblacklight 4.0.0.pre.alpha.1 → 4.0.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE.md +1 -1
- data/.github/workflows/ruby.yml +32 -64
- data/.gitignore +1 -0
- data/.rubocop.yml +6 -6
- data/.rubocop_todo.yml +0 -3
- data/.solr_wrapper +1 -0
- data/README.md +1 -4
- data/Rakefile +0 -1
- data/app/assets/images/blacklight/child-item.svg +3 -0
- data/app/assets/images/blacklight/collections.svg +4 -0
- data/app/assets/images/blacklight/datasets.svg +7 -0
- data/app/assets/images/blacklight/geoblacklight-icons.json +363 -332
- data/app/assets/images/blacklight/imagery.svg +4 -0
- data/app/assets/images/blacklight/maps.svg +4 -0
- data/app/assets/images/blacklight/michigan-state-university.svg +0 -1
- data/app/assets/images/blacklight/parent-item.svg +3 -0
- data/app/assets/images/blacklight/pennsylvania-state-university.svg +0 -1
- data/app/assets/images/blacklight/purdue-university.svg +0 -1
- data/app/assets/images/blacklight/the-ohio-state-university.svg +0 -1
- data/app/assets/images/blacklight/university-of-chicago.svg +0 -1
- data/app/assets/images/blacklight/university-of-colorado-boulder.svg +6 -0
- data/app/assets/images/blacklight/university-of-illinois-urbana-champaign.svg +0 -1
- data/app/assets/images/blacklight/university-of-iowa.svg +0 -1
- data/app/assets/images/blacklight/university-of-maryland.svg +0 -1
- data/app/assets/images/blacklight/university-of-michigan.svg +0 -1
- data/app/assets/images/blacklight/university-of-minnesota.svg +0 -1
- data/app/assets/images/blacklight/university-of-nebraska-lincoln.svg +0 -1
- data/app/assets/images/blacklight/university-of-wisconsin-madison.svg +0 -1
- data/app/assets/images/blacklight/websites.svg +4 -0
- data/app/assets/javascripts/geoblacklight/controls/fullscreen.js +8 -0
- data/app/assets/javascripts/geoblacklight/geoblacklight.js +2 -1
- data/app/assets/javascripts/geoblacklight/viewers/esri.js +1 -0
- data/app/assets/javascripts/geoblacklight/viewers/index_map.js +1 -0
- data/app/assets/javascripts/geoblacklight/viewers/tilejson.js +33 -0
- data/app/assets/javascripts/geoblacklight/viewers/tms.js +2 -2
- data/app/assets/javascripts/geoblacklight/viewers/viewer.js +3 -0
- data/app/assets/javascripts/geoblacklight/viewers/wms.js +2 -2
- data/app/assets/javascripts/geoblacklight/viewers/wmts.js +85 -0
- data/app/assets/javascripts/geoblacklight/viewers/xyz.js +10 -0
- data/app/assets/stylesheets/geoblacklight/geoblacklight.scss +1 -0
- data/app/assets/stylesheets/geoblacklight/modules/_base.scss +0 -1
- data/app/assets/stylesheets/geoblacklight/modules/_styles.scss +5 -1
- data/app/assets/stylesheets/geoblacklight/modules/downloads.scss +20 -47
- data/app/assets/stylesheets/geoblacklight/modules/index_maps.scss +68 -0
- data/app/assets/stylesheets/geoblacklight/modules/item.scss +16 -0
- data/app/assets/stylesheets/geoblacklight/modules/modal.scss +6 -0
- data/app/assets/stylesheets/geoblacklight/modules/sidebar.scss +4 -0
- data/app/components/geoblacklight/icon_facet_item_component.rb +33 -0
- data/app/helpers/geoblacklight_helper.rb +6 -45
- data/app/models/concerns/geoblacklight/bbox_filter_field.rb +45 -0
- data/app/models/concerns/geoblacklight/bbox_filter_query.rb +50 -0
- data/app/models/concerns/geoblacklight/solr_document.rb +1 -1
- data/app/models/concerns/geoblacklight/suppressed_records_search_behavior.rb +26 -0
- data/app/presenters/geoblacklight/bbox_item_presenter.rb +9 -0
- data/app/views/catalog/_downloads_collapse.html.erb +27 -0
- data/app/views/catalog/_header_icons.html.erb +2 -2
- data/app/views/catalog/_index_split_default.html.erb +2 -2
- data/app/views/catalog/_show_default_viewer_container.html.erb +17 -0
- data/app/views/catalog/_show_downloads.html.erb +10 -21
- data/app/views/catalog/_show_sidebar.html.erb +3 -0
- data/app/views/catalog/_show_web_services.html.erb +11 -0
- data/app/views/catalog/_web_services.html.erb +3 -2
- data/app/views/catalog/web_services.html.erb +1 -1
- data/app/views/relation/_relations.html.erb +1 -1
- data/app/views/relation/index.html.erb +1 -1
- data/config/locales/geoblacklight.en.yml +4 -1
- data/geoblacklight.gemspec +6 -6
- data/lib/generators/geoblacklight/install_generator.rb +1 -1
- data/lib/generators/geoblacklight/templates/assets/_customizations.scss +5 -4
- data/lib/generators/geoblacklight/templates/assets/application.scss +0 -3
- data/lib/generators/geoblacklight/templates/catalog_controller.rb +74 -56
- data/lib/generators/geoblacklight/templates/settings.gbl_v1.yml +5 -5
- data/lib/generators/geoblacklight/templates/settings.yml +36 -23
- data/lib/geoblacklight/bounding_box.rb +4 -0
- data/lib/geoblacklight/constants.rb +3 -0
- data/lib/geoblacklight/engine.rb +3 -2
- data/lib/geoblacklight/faraday_middleware/follow_redirects.rb +176 -0
- data/lib/geoblacklight/item_viewer.rb +13 -1
- data/lib/geoblacklight/metadata/base.rb +2 -1
- data/lib/geoblacklight/version.rb +1 -1
- data/lib/geoblacklight/view_helper_override.rb +2 -28
- data/lib/geoblacklight.rb +0 -10
- data/lib/tasks/geoblacklight.rake +1 -1
- data/schema/geoblacklight-schema-aardvark.json +3 -23
- data/solr/conf/schema.xml +37 -43
- data/solr/conf/solrconfig.xml +17 -17
- data/spec/components/geoblacklight/icon_facet_item_component_spec.rb +17 -0
- data/spec/controllers/catalog_controller_spec.rb +1 -1
- data/spec/features/download_layer_spec.rb +31 -14
- data/spec/features/esri_viewer_spec.rb +5 -1
- data/spec/features/full_screen_controll_spec.rb +15 -0
- data/spec/features/home_page_spec.rb +2 -2
- data/spec/features/index_map_spec.rb +2 -2
- data/spec/features/missing_metadata_spec.rb +1 -1
- data/spec/features/multiple_downloads_spec.rb +2 -1
- data/spec/features/relations_spec.rb +1 -1
- data/spec/features/saved_searches_spec.rb +1 -1
- data/spec/features/search_results_complex_geometry_spec.rb +24 -0
- data/spec/features/search_results_icons_spec.rb +16 -0
- data/spec/features/search_results_map_spec.rb +2 -2
- data/spec/features/search_spec.rb +22 -0
- data/spec/features/show_page_download_spec.rb +29 -0
- data/spec/features/show_page_metadata_spec.rb +2 -2
- data/spec/features/split_view.html.erb_spec.rb +12 -1
- data/spec/features/tilejson_spec.rb +22 -0
- data/spec/features/tms_spec.rb +2 -2
- data/spec/features/web_services_modal_spec.rb +35 -2
- data/spec/features/wmts_spec.rb +34 -0
- data/spec/features/xyz_spec.rb +10 -0
- data/spec/fixtures/manifests/tilejson.json +21 -0
- data/spec/fixtures/manifests/wmts-multiple.xml +813 -0
- data/spec/fixtures/manifests/wmts-single.xml +126 -0
- data/spec/fixtures/solr_documents/README.md +46 -43
- data/spec/fixtures/solr_documents/actual-papermap1.json +2 -1
- data/spec/fixtures/solr_documents/actual-point1.json +2 -1
- data/spec/fixtures/solr_documents/actual-polygon1.json +2 -1
- data/spec/fixtures/solr_documents/actual-raster1.json +3 -2
- data/spec/fixtures/solr_documents/baruch_ancestor1.json +2 -1
- data/spec/fixtures/solr_documents/baruch_ancestor2.json +2 -1
- data/spec/fixtures/solr_documents/baruch_documentation_download.json +1 -1
- data/spec/fixtures/solr_documents/bbox-spans-180.json +2 -1
- data/spec/fixtures/solr_documents/cornell_html_metadata.json +4 -3
- data/spec/fixtures/solr_documents/esri-dynamic-layer-all-layers.json +3 -2
- data/spec/fixtures/solr_documents/esri-dynamic-layer-single-layer.json +3 -2
- data/spec/fixtures/solr_documents/esri-feature-layer.json +2 -1
- data/spec/fixtures/solr_documents/esri-image-map-layer.json +3 -2
- data/spec/fixtures/solr_documents/esri-tiled_map_layer.json +2 -1
- data/spec/fixtures/solr_documents/esri-wms-layer.json +2 -1
- data/spec/fixtures/solr_documents/harvard_raster.json +3 -2
- data/spec/fixtures/solr_documents/iiif-eastern-hemisphere.json +3 -2
- data/spec/fixtures/solr_documents/index-map-polygon-no-downloadurl.json +2 -1
- data/spec/fixtures/solr_documents/index-map-polygon.json +2 -1
- data/spec/fixtures/solr_documents/index-map-stanford.json +2 -1
- data/spec/fixtures/solr_documents/index_map_point.json +3 -2
- data/spec/fixtures/solr_documents/metadata_no_provider.json +2 -1
- data/spec/fixtures/solr_documents/multiple-downloads.json +3 -2
- data/spec/fixtures/solr_documents/no_spatial.json +1 -4
- data/spec/fixtures/solr_documents/oembed.json +2 -1
- data/spec/fixtures/solr_documents/princeton-child1.json +3 -2
- data/spec/fixtures/solr_documents/princeton-child2.json +3 -2
- data/spec/fixtures/solr_documents/princeton-child3.json +2 -1
- data/spec/fixtures/solr_documents/princeton-child4.json +3 -2
- data/spec/fixtures/solr_documents/princeton-parent.json +5 -3
- data/spec/fixtures/solr_documents/public_direct_download.json +2 -1
- data/spec/fixtures/solr_documents/public_iiif_princeton.json +3 -2
- data/spec/fixtures/solr_documents/public_polygon_mit.json +2 -1
- data/spec/fixtures/solr_documents/restricted-line.json +2 -1
- data/spec/fixtures/solr_documents/tilejson.json +48 -0
- data/spec/fixtures/solr_documents/tms.json +15 -18
- data/spec/fixtures/solr_documents/umn_metro_result1.json +5 -3
- data/spec/fixtures/solr_documents/umn_state_result1.json +3 -2
- data/spec/fixtures/solr_documents/umn_state_result2.json +3 -5
- data/spec/fixtures/solr_documents/uva_slug_colon.json +2 -1
- data/spec/fixtures/solr_documents/wmts-multiple.json +41 -0
- data/spec/fixtures/solr_documents/wmts-single-layer.json +48 -0
- data/spec/fixtures/solr_documents/xyz.json +46 -0
- data/spec/helpers/geoblacklight_helper_spec.rb +12 -35
- data/spec/lib/geoblacklight/document_presenter_spec.rb +3 -3
- data/spec/lib/geoblacklight/download/geojson_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download/geotiff_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download/kmz_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download/shapefile_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download_spec.rb +2 -2
- data/spec/lib/geoblacklight/metadata/base_spec.rb +19 -1
- data/spec/lib/geoblacklight/references_spec.rb +1 -1
- data/spec/lib/geoblacklight/relation/relation_response_spec.rb +5 -0
- data/spec/lib/geoblacklight/view_helper_override_spec.rb +0 -10
- data/spec/models/concerns/geoblacklight/bbox_filter_field_spec.rb +77 -0
- data/spec/models/concerns/geoblacklight/bbox_filter_query_spec.rb +105 -0
- data/spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb +2 -1
- data/spec/models/concerns/geoblacklight/suppressed_records_search_behavior_spec.rb +31 -0
- data/spec/presenters/geoblacklight/bbox_item_presenter_spec.rb +36 -0
- data/spec/spec_helper.rb +6 -1
- data/spec/test_app_templates/Gemfile.extra +1 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +4 -4
- data/spec/views/catalog/_show_downloads.html.erb_spec.rb +5 -5
- data/template.rb +2 -4
- data/vendor/assets/images/fullscreen.png +0 -0
- data/vendor/assets/images/fullscreen@2x.png +0 -0
- data/vendor/assets/javascripts/Leaflet.fullscreen.js +152 -0
- data/vendor/assets/javascripts/esri-leaflet.js +10 -3
- data/vendor/assets/javascripts/esri-leaflet.js.map +1 -1
- data/vendor/assets/javascripts/leaflet-iiif.js +39 -18
- data/vendor/assets/javascripts/leaflet-src.js.erb +14062 -0
- data/vendor/assets/javascripts/leaflet-src.js.map +1 -1
- data/vendor/assets/stylesheets/leaflet.css +640 -634
- data/vendor/assets/stylesheets/leaflet.fullscreen.css +40 -0
- metadata +91 -46
- data/app/models/concerns/geoblacklight/spatial_search_behavior.rb +0 -71
- data/app/views/catalog/_download_generated_link.html.erb +0 -4
- data/app/views/catalog/_download_link.html.erb +0 -3
- data/app/views/catalog/_downloads_generated.html.erb +0 -6
- data/app/views/catalog/_downloads_primary.html.erb +0 -21
- data/app/views/catalog/_downloads_secondary.html.erb +0 -39
- data/app/views/catalog/_icon_facet.html.erb +0 -16
- data/bin/coverage.rb +0 -36
- data/lib/generators/geoblacklight/templates/Procfile +0 -3
- data/lib/generators/geoblacklight/templates/package.json +0 -14
- data/lib/generators/geoblacklight/templates/webpacker.yml +0 -67
- data/lib/generators/geoblacklight/webpacker_generator.rb +0 -36
- data/lib/geoblacklight/catalog_helper_override.rb +0 -14
- data/spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb +0 -97
- data/vendor/assets/javascripts/leaflet.js.erb +0 -13922
- data/vendor/assets/stylesheets/leaflet-label.css +0 -54
@@ -1,634 +1,640 @@
|
|
1
|
-
/* required styles */
|
2
|
-
|
3
|
-
.leaflet-pane,
|
4
|
-
.leaflet-tile,
|
5
|
-
.leaflet-marker-icon,
|
6
|
-
.leaflet-marker-shadow,
|
7
|
-
.leaflet-tile-container,
|
8
|
-
.leaflet-pane > svg,
|
9
|
-
.leaflet-pane > canvas,
|
10
|
-
.leaflet-zoom-box,
|
11
|
-
.leaflet-image-layer,
|
12
|
-
.leaflet-layer {
|
13
|
-
position: absolute;
|
14
|
-
left: 0;
|
15
|
-
top: 0;
|
16
|
-
}
|
17
|
-
.leaflet-container {
|
18
|
-
overflow: hidden;
|
19
|
-
}
|
20
|
-
.leaflet-tile,
|
21
|
-
.leaflet-marker-icon,
|
22
|
-
.leaflet-marker-shadow {
|
23
|
-
-webkit-user-select: none;
|
24
|
-
-moz-user-select: none;
|
25
|
-
user-select: none;
|
26
|
-
-webkit-user-drag: none;
|
27
|
-
}
|
28
|
-
/*
|
29
|
-
.leaflet-
|
30
|
-
|
31
|
-
|
32
|
-
/*
|
33
|
-
.leaflet-safari .leaflet-tile
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
}
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
.leaflet-container
|
47
|
-
.leaflet-container
|
48
|
-
.leaflet-container
|
49
|
-
.leaflet-container .leaflet-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
-
|
56
|
-
|
57
|
-
|
58
|
-
.leaflet-container.leaflet-touch-
|
59
|
-
-ms-touch-action:
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
touch-action:
|
67
|
-
}
|
68
|
-
.leaflet-container {
|
69
|
-
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
.leaflet-tile
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
-
|
91
|
-
}
|
92
|
-
|
93
|
-
.leaflet-pane
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
.leaflet-
|
98
|
-
|
99
|
-
.leaflet-
|
100
|
-
.leaflet-
|
101
|
-
|
102
|
-
.leaflet-
|
103
|
-
.leaflet-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
.
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
}
|
146
|
-
.leaflet-
|
147
|
-
float:
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
}
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
cursor:
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
cursor:
|
215
|
-
}
|
216
|
-
.leaflet-
|
217
|
-
.leaflet-
|
218
|
-
cursor:
|
219
|
-
}
|
220
|
-
.leaflet-
|
221
|
-
.leaflet-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
.leaflet-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
.leaflet-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
outline:
|
255
|
-
}
|
256
|
-
.leaflet-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
}
|
266
|
-
|
267
|
-
|
268
|
-
/* general
|
269
|
-
|
270
|
-
.
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
}
|
292
|
-
.leaflet-bar a
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
border-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
.leaflet-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
}
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
.leaflet-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
background-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
/*
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
.leaflet-control-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
}
|
413
|
-
.leaflet-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
.leaflet-
|
421
|
-
|
422
|
-
}
|
423
|
-
.leaflet-control-scale
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
.leaflet-
|
449
|
-
|
450
|
-
}
|
451
|
-
|
452
|
-
.leaflet-touch .leaflet-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
}
|
504
|
-
.leaflet-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
color: #
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
.leaflet-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
-ms-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
margin
|
540
|
-
|
541
|
-
|
542
|
-
.
|
543
|
-
|
544
|
-
.leaflet-oldie .leaflet-popup-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
.leaflet-tooltip-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
}
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
.leaflet-tooltip-bottom
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
margin-
|
612
|
-
border-
|
613
|
-
}
|
614
|
-
.leaflet-tooltip-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
}
|
620
|
-
.leaflet-tooltip-left
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
1
|
+
/* required styles */
|
2
|
+
|
3
|
+
.leaflet-pane,
|
4
|
+
.leaflet-tile,
|
5
|
+
.leaflet-marker-icon,
|
6
|
+
.leaflet-marker-shadow,
|
7
|
+
.leaflet-tile-container,
|
8
|
+
.leaflet-pane > svg,
|
9
|
+
.leaflet-pane > canvas,
|
10
|
+
.leaflet-zoom-box,
|
11
|
+
.leaflet-image-layer,
|
12
|
+
.leaflet-layer {
|
13
|
+
position: absolute;
|
14
|
+
left: 0;
|
15
|
+
top: 0;
|
16
|
+
}
|
17
|
+
.leaflet-container {
|
18
|
+
overflow: hidden;
|
19
|
+
}
|
20
|
+
.leaflet-tile,
|
21
|
+
.leaflet-marker-icon,
|
22
|
+
.leaflet-marker-shadow {
|
23
|
+
-webkit-user-select: none;
|
24
|
+
-moz-user-select: none;
|
25
|
+
user-select: none;
|
26
|
+
-webkit-user-drag: none;
|
27
|
+
}
|
28
|
+
/* Prevents IE11 from highlighting tiles in blue */
|
29
|
+
.leaflet-tile::selection {
|
30
|
+
background: transparent;
|
31
|
+
}
|
32
|
+
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
|
33
|
+
.leaflet-safari .leaflet-tile {
|
34
|
+
image-rendering: -webkit-optimize-contrast;
|
35
|
+
}
|
36
|
+
/* hack that prevents hw layers "stretching" when loading new tiles */
|
37
|
+
.leaflet-safari .leaflet-tile-container {
|
38
|
+
width: 1600px;
|
39
|
+
height: 1600px;
|
40
|
+
-webkit-transform-origin: 0 0;
|
41
|
+
}
|
42
|
+
.leaflet-marker-icon,
|
43
|
+
.leaflet-marker-shadow {
|
44
|
+
display: block;
|
45
|
+
}
|
46
|
+
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
|
47
|
+
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
|
48
|
+
.leaflet-container .leaflet-overlay-pane svg,
|
49
|
+
.leaflet-container .leaflet-marker-pane img,
|
50
|
+
.leaflet-container .leaflet-shadow-pane img,
|
51
|
+
.leaflet-container .leaflet-tile-pane img,
|
52
|
+
.leaflet-container img.leaflet-image-layer,
|
53
|
+
.leaflet-container .leaflet-tile {
|
54
|
+
max-width: none !important;
|
55
|
+
max-height: none !important;
|
56
|
+
}
|
57
|
+
|
58
|
+
.leaflet-container.leaflet-touch-zoom {
|
59
|
+
-ms-touch-action: pan-x pan-y;
|
60
|
+
touch-action: pan-x pan-y;
|
61
|
+
}
|
62
|
+
.leaflet-container.leaflet-touch-drag {
|
63
|
+
-ms-touch-action: pinch-zoom;
|
64
|
+
/* Fallback for FF which doesn't support pinch-zoom */
|
65
|
+
touch-action: none;
|
66
|
+
touch-action: pinch-zoom;
|
67
|
+
}
|
68
|
+
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
|
69
|
+
-ms-touch-action: none;
|
70
|
+
touch-action: none;
|
71
|
+
}
|
72
|
+
.leaflet-container {
|
73
|
+
-webkit-tap-highlight-color: transparent;
|
74
|
+
}
|
75
|
+
.leaflet-container a {
|
76
|
+
-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
|
77
|
+
}
|
78
|
+
.leaflet-tile {
|
79
|
+
filter: inherit;
|
80
|
+
visibility: hidden;
|
81
|
+
}
|
82
|
+
.leaflet-tile-loaded {
|
83
|
+
visibility: inherit;
|
84
|
+
}
|
85
|
+
.leaflet-zoom-box {
|
86
|
+
width: 0;
|
87
|
+
height: 0;
|
88
|
+
-moz-box-sizing: border-box;
|
89
|
+
box-sizing: border-box;
|
90
|
+
z-index: 800;
|
91
|
+
}
|
92
|
+
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
|
93
|
+
.leaflet-overlay-pane svg {
|
94
|
+
-moz-user-select: none;
|
95
|
+
}
|
96
|
+
|
97
|
+
.leaflet-pane { z-index: 400; }
|
98
|
+
|
99
|
+
.leaflet-tile-pane { z-index: 200; }
|
100
|
+
.leaflet-overlay-pane { z-index: 400; }
|
101
|
+
.leaflet-shadow-pane { z-index: 500; }
|
102
|
+
.leaflet-marker-pane { z-index: 600; }
|
103
|
+
.leaflet-tooltip-pane { z-index: 650; }
|
104
|
+
.leaflet-popup-pane { z-index: 700; }
|
105
|
+
|
106
|
+
.leaflet-map-pane canvas { z-index: 100; }
|
107
|
+
.leaflet-map-pane svg { z-index: 200; }
|
108
|
+
|
109
|
+
.leaflet-vml-shape {
|
110
|
+
width: 1px;
|
111
|
+
height: 1px;
|
112
|
+
}
|
113
|
+
.lvml {
|
114
|
+
behavior: url(#default#VML);
|
115
|
+
display: inline-block;
|
116
|
+
position: absolute;
|
117
|
+
}
|
118
|
+
|
119
|
+
|
120
|
+
/* control positioning */
|
121
|
+
|
122
|
+
.leaflet-control {
|
123
|
+
position: relative;
|
124
|
+
z-index: 800;
|
125
|
+
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
|
126
|
+
pointer-events: auto;
|
127
|
+
}
|
128
|
+
.leaflet-top,
|
129
|
+
.leaflet-bottom {
|
130
|
+
position: absolute;
|
131
|
+
z-index: 1000;
|
132
|
+
pointer-events: none;
|
133
|
+
}
|
134
|
+
.leaflet-top {
|
135
|
+
top: 0;
|
136
|
+
}
|
137
|
+
.leaflet-right {
|
138
|
+
right: 0;
|
139
|
+
}
|
140
|
+
.leaflet-bottom {
|
141
|
+
bottom: 0;
|
142
|
+
}
|
143
|
+
.leaflet-left {
|
144
|
+
left: 0;
|
145
|
+
}
|
146
|
+
.leaflet-control {
|
147
|
+
float: left;
|
148
|
+
clear: both;
|
149
|
+
}
|
150
|
+
.leaflet-right .leaflet-control {
|
151
|
+
float: right;
|
152
|
+
}
|
153
|
+
.leaflet-top .leaflet-control {
|
154
|
+
margin-top: 10px;
|
155
|
+
}
|
156
|
+
.leaflet-bottom .leaflet-control {
|
157
|
+
margin-bottom: 10px;
|
158
|
+
}
|
159
|
+
.leaflet-left .leaflet-control {
|
160
|
+
margin-left: 10px;
|
161
|
+
}
|
162
|
+
.leaflet-right .leaflet-control {
|
163
|
+
margin-right: 10px;
|
164
|
+
}
|
165
|
+
|
166
|
+
|
167
|
+
/* zoom and fade animations */
|
168
|
+
|
169
|
+
.leaflet-fade-anim .leaflet-tile {
|
170
|
+
will-change: opacity;
|
171
|
+
}
|
172
|
+
.leaflet-fade-anim .leaflet-popup {
|
173
|
+
opacity: 0;
|
174
|
+
-webkit-transition: opacity 0.2s linear;
|
175
|
+
-moz-transition: opacity 0.2s linear;
|
176
|
+
transition: opacity 0.2s linear;
|
177
|
+
}
|
178
|
+
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
|
179
|
+
opacity: 1;
|
180
|
+
}
|
181
|
+
.leaflet-zoom-animated {
|
182
|
+
-webkit-transform-origin: 0 0;
|
183
|
+
-ms-transform-origin: 0 0;
|
184
|
+
transform-origin: 0 0;
|
185
|
+
}
|
186
|
+
.leaflet-zoom-anim .leaflet-zoom-animated {
|
187
|
+
will-change: transform;
|
188
|
+
}
|
189
|
+
.leaflet-zoom-anim .leaflet-zoom-animated {
|
190
|
+
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
|
191
|
+
-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
|
192
|
+
transition: transform 0.25s cubic-bezier(0,0,0.25,1);
|
193
|
+
}
|
194
|
+
.leaflet-zoom-anim .leaflet-tile,
|
195
|
+
.leaflet-pan-anim .leaflet-tile {
|
196
|
+
-webkit-transition: none;
|
197
|
+
-moz-transition: none;
|
198
|
+
transition: none;
|
199
|
+
}
|
200
|
+
|
201
|
+
.leaflet-zoom-anim .leaflet-zoom-hide {
|
202
|
+
visibility: hidden;
|
203
|
+
}
|
204
|
+
|
205
|
+
|
206
|
+
/* cursors */
|
207
|
+
|
208
|
+
.leaflet-interactive {
|
209
|
+
cursor: pointer;
|
210
|
+
}
|
211
|
+
.leaflet-grab {
|
212
|
+
cursor: -webkit-grab;
|
213
|
+
cursor: -moz-grab;
|
214
|
+
cursor: grab;
|
215
|
+
}
|
216
|
+
.leaflet-crosshair,
|
217
|
+
.leaflet-crosshair .leaflet-interactive {
|
218
|
+
cursor: crosshair;
|
219
|
+
}
|
220
|
+
.leaflet-popup-pane,
|
221
|
+
.leaflet-control {
|
222
|
+
cursor: auto;
|
223
|
+
}
|
224
|
+
.leaflet-dragging .leaflet-grab,
|
225
|
+
.leaflet-dragging .leaflet-grab .leaflet-interactive,
|
226
|
+
.leaflet-dragging .leaflet-marker-draggable {
|
227
|
+
cursor: move;
|
228
|
+
cursor: -webkit-grabbing;
|
229
|
+
cursor: -moz-grabbing;
|
230
|
+
cursor: grabbing;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* marker & overlays interactivity */
|
234
|
+
.leaflet-marker-icon,
|
235
|
+
.leaflet-marker-shadow,
|
236
|
+
.leaflet-image-layer,
|
237
|
+
.leaflet-pane > svg path,
|
238
|
+
.leaflet-tile-container {
|
239
|
+
pointer-events: none;
|
240
|
+
}
|
241
|
+
|
242
|
+
.leaflet-marker-icon.leaflet-interactive,
|
243
|
+
.leaflet-image-layer.leaflet-interactive,
|
244
|
+
.leaflet-pane > svg path.leaflet-interactive,
|
245
|
+
svg.leaflet-image-layer.leaflet-interactive path {
|
246
|
+
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
|
247
|
+
pointer-events: auto;
|
248
|
+
}
|
249
|
+
|
250
|
+
/* visual tweaks */
|
251
|
+
|
252
|
+
.leaflet-container {
|
253
|
+
background: #ddd;
|
254
|
+
outline: 0;
|
255
|
+
}
|
256
|
+
.leaflet-container a {
|
257
|
+
color: #0078A8;
|
258
|
+
}
|
259
|
+
.leaflet-container a.leaflet-active {
|
260
|
+
outline: 2px solid orange;
|
261
|
+
}
|
262
|
+
.leaflet-zoom-box {
|
263
|
+
border: 2px dotted #38f;
|
264
|
+
background: rgba(255,255,255,0.5);
|
265
|
+
}
|
266
|
+
|
267
|
+
|
268
|
+
/* general typography */
|
269
|
+
.leaflet-container {
|
270
|
+
font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
|
271
|
+
}
|
272
|
+
|
273
|
+
|
274
|
+
/* general toolbar styles */
|
275
|
+
|
276
|
+
.leaflet-bar {
|
277
|
+
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
|
278
|
+
border-radius: 4px;
|
279
|
+
}
|
280
|
+
.leaflet-bar a,
|
281
|
+
.leaflet-bar a:hover {
|
282
|
+
background-color: #fff;
|
283
|
+
border-bottom: 1px solid #ccc;
|
284
|
+
width: 26px;
|
285
|
+
height: 26px;
|
286
|
+
line-height: 26px;
|
287
|
+
display: block;
|
288
|
+
text-align: center;
|
289
|
+
text-decoration: none;
|
290
|
+
color: black;
|
291
|
+
}
|
292
|
+
.leaflet-bar a,
|
293
|
+
.leaflet-control-layers-toggle {
|
294
|
+
background-position: 50% 50%;
|
295
|
+
background-repeat: no-repeat;
|
296
|
+
display: block;
|
297
|
+
}
|
298
|
+
.leaflet-bar a:hover {
|
299
|
+
background-color: #f4f4f4;
|
300
|
+
}
|
301
|
+
.leaflet-bar a:first-child {
|
302
|
+
border-top-left-radius: 4px;
|
303
|
+
border-top-right-radius: 4px;
|
304
|
+
}
|
305
|
+
.leaflet-bar a:last-child {
|
306
|
+
border-bottom-left-radius: 4px;
|
307
|
+
border-bottom-right-radius: 4px;
|
308
|
+
border-bottom: none;
|
309
|
+
}
|
310
|
+
.leaflet-bar a.leaflet-disabled {
|
311
|
+
cursor: default;
|
312
|
+
background-color: #f4f4f4;
|
313
|
+
color: #bbb;
|
314
|
+
}
|
315
|
+
|
316
|
+
.leaflet-touch .leaflet-bar a {
|
317
|
+
width: 30px;
|
318
|
+
height: 30px;
|
319
|
+
line-height: 30px;
|
320
|
+
}
|
321
|
+
.leaflet-touch .leaflet-bar a:first-child {
|
322
|
+
border-top-left-radius: 2px;
|
323
|
+
border-top-right-radius: 2px;
|
324
|
+
}
|
325
|
+
.leaflet-touch .leaflet-bar a:last-child {
|
326
|
+
border-bottom-left-radius: 2px;
|
327
|
+
border-bottom-right-radius: 2px;
|
328
|
+
}
|
329
|
+
|
330
|
+
/* zoom control */
|
331
|
+
|
332
|
+
.leaflet-control-zoom-in,
|
333
|
+
.leaflet-control-zoom-out {
|
334
|
+
font: bold 18px 'Lucida Console', Monaco, monospace;
|
335
|
+
text-indent: 1px;
|
336
|
+
}
|
337
|
+
|
338
|
+
.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
|
339
|
+
font-size: 22px;
|
340
|
+
}
|
341
|
+
|
342
|
+
|
343
|
+
/* layers control */
|
344
|
+
|
345
|
+
.leaflet-control-layers {
|
346
|
+
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
|
347
|
+
background: #fff;
|
348
|
+
border-radius: 5px;
|
349
|
+
}
|
350
|
+
.leaflet-control-layers-toggle {
|
351
|
+
background-image: url(images/layers.png);
|
352
|
+
width: 36px;
|
353
|
+
height: 36px;
|
354
|
+
}
|
355
|
+
.leaflet-retina .leaflet-control-layers-toggle {
|
356
|
+
background-image: url(images/layers-2x.png);
|
357
|
+
background-size: 26px 26px;
|
358
|
+
}
|
359
|
+
.leaflet-touch .leaflet-control-layers-toggle {
|
360
|
+
width: 44px;
|
361
|
+
height: 44px;
|
362
|
+
}
|
363
|
+
.leaflet-control-layers .leaflet-control-layers-list,
|
364
|
+
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
|
365
|
+
display: none;
|
366
|
+
}
|
367
|
+
.leaflet-control-layers-expanded .leaflet-control-layers-list {
|
368
|
+
display: block;
|
369
|
+
position: relative;
|
370
|
+
}
|
371
|
+
.leaflet-control-layers-expanded {
|
372
|
+
padding: 6px 10px 6px 6px;
|
373
|
+
color: #333;
|
374
|
+
background: #fff;
|
375
|
+
}
|
376
|
+
.leaflet-control-layers-scrollbar {
|
377
|
+
overflow-y: scroll;
|
378
|
+
overflow-x: hidden;
|
379
|
+
padding-right: 5px;
|
380
|
+
}
|
381
|
+
.leaflet-control-layers-selector {
|
382
|
+
margin-top: 2px;
|
383
|
+
position: relative;
|
384
|
+
top: 1px;
|
385
|
+
}
|
386
|
+
.leaflet-control-layers label {
|
387
|
+
display: block;
|
388
|
+
}
|
389
|
+
.leaflet-control-layers-separator {
|
390
|
+
height: 0;
|
391
|
+
border-top: 1px solid #ddd;
|
392
|
+
margin: 5px -10px 5px -6px;
|
393
|
+
}
|
394
|
+
|
395
|
+
/* Default icon URLs */
|
396
|
+
.leaflet-default-icon-path {
|
397
|
+
background-image: url(images/marker-icon.png);
|
398
|
+
}
|
399
|
+
|
400
|
+
|
401
|
+
/* attribution and scale controls */
|
402
|
+
|
403
|
+
.leaflet-container .leaflet-control-attribution {
|
404
|
+
background: #fff;
|
405
|
+
background: rgba(255, 255, 255, 0.7);
|
406
|
+
margin: 0;
|
407
|
+
}
|
408
|
+
.leaflet-control-attribution,
|
409
|
+
.leaflet-control-scale-line {
|
410
|
+
padding: 0 5px;
|
411
|
+
color: #333;
|
412
|
+
}
|
413
|
+
.leaflet-control-attribution a {
|
414
|
+
text-decoration: none;
|
415
|
+
}
|
416
|
+
.leaflet-control-attribution a:hover {
|
417
|
+
text-decoration: underline;
|
418
|
+
}
|
419
|
+
.leaflet-container .leaflet-control-attribution,
|
420
|
+
.leaflet-container .leaflet-control-scale {
|
421
|
+
font-size: 11px;
|
422
|
+
}
|
423
|
+
.leaflet-left .leaflet-control-scale {
|
424
|
+
margin-left: 5px;
|
425
|
+
}
|
426
|
+
.leaflet-bottom .leaflet-control-scale {
|
427
|
+
margin-bottom: 5px;
|
428
|
+
}
|
429
|
+
.leaflet-control-scale-line {
|
430
|
+
border: 2px solid #777;
|
431
|
+
border-top: none;
|
432
|
+
line-height: 1.1;
|
433
|
+
padding: 2px 5px 1px;
|
434
|
+
font-size: 11px;
|
435
|
+
white-space: nowrap;
|
436
|
+
overflow: hidden;
|
437
|
+
-moz-box-sizing: border-box;
|
438
|
+
box-sizing: border-box;
|
439
|
+
|
440
|
+
background: #fff;
|
441
|
+
background: rgba(255, 255, 255, 0.5);
|
442
|
+
}
|
443
|
+
.leaflet-control-scale-line:not(:first-child) {
|
444
|
+
border-top: 2px solid #777;
|
445
|
+
border-bottom: none;
|
446
|
+
margin-top: -2px;
|
447
|
+
}
|
448
|
+
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
|
449
|
+
border-bottom: 2px solid #777;
|
450
|
+
}
|
451
|
+
|
452
|
+
.leaflet-touch .leaflet-control-attribution,
|
453
|
+
.leaflet-touch .leaflet-control-layers,
|
454
|
+
.leaflet-touch .leaflet-bar {
|
455
|
+
box-shadow: none;
|
456
|
+
}
|
457
|
+
.leaflet-touch .leaflet-control-layers,
|
458
|
+
.leaflet-touch .leaflet-bar {
|
459
|
+
border: 2px solid rgba(0,0,0,0.2);
|
460
|
+
background-clip: padding-box;
|
461
|
+
}
|
462
|
+
|
463
|
+
|
464
|
+
/* popup */
|
465
|
+
|
466
|
+
.leaflet-popup {
|
467
|
+
position: absolute;
|
468
|
+
text-align: center;
|
469
|
+
margin-bottom: 20px;
|
470
|
+
}
|
471
|
+
.leaflet-popup-content-wrapper {
|
472
|
+
padding: 1px;
|
473
|
+
text-align: left;
|
474
|
+
border-radius: 12px;
|
475
|
+
}
|
476
|
+
.leaflet-popup-content {
|
477
|
+
margin: 13px 19px;
|
478
|
+
line-height: 1.4;
|
479
|
+
}
|
480
|
+
.leaflet-popup-content p {
|
481
|
+
margin: 18px 0;
|
482
|
+
}
|
483
|
+
.leaflet-popup-tip-container {
|
484
|
+
width: 40px;
|
485
|
+
height: 20px;
|
486
|
+
position: absolute;
|
487
|
+
left: 50%;
|
488
|
+
margin-left: -20px;
|
489
|
+
overflow: hidden;
|
490
|
+
pointer-events: none;
|
491
|
+
}
|
492
|
+
.leaflet-popup-tip {
|
493
|
+
width: 17px;
|
494
|
+
height: 17px;
|
495
|
+
padding: 1px;
|
496
|
+
|
497
|
+
margin: -10px auto 0;
|
498
|
+
|
499
|
+
-webkit-transform: rotate(45deg);
|
500
|
+
-moz-transform: rotate(45deg);
|
501
|
+
-ms-transform: rotate(45deg);
|
502
|
+
transform: rotate(45deg);
|
503
|
+
}
|
504
|
+
.leaflet-popup-content-wrapper,
|
505
|
+
.leaflet-popup-tip {
|
506
|
+
background: white;
|
507
|
+
color: #333;
|
508
|
+
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
509
|
+
}
|
510
|
+
.leaflet-container a.leaflet-popup-close-button {
|
511
|
+
position: absolute;
|
512
|
+
top: 0;
|
513
|
+
right: 0;
|
514
|
+
padding: 4px 4px 0 0;
|
515
|
+
border: none;
|
516
|
+
text-align: center;
|
517
|
+
width: 18px;
|
518
|
+
height: 14px;
|
519
|
+
font: 16px/14px Tahoma, Verdana, sans-serif;
|
520
|
+
color: #c3c3c3;
|
521
|
+
text-decoration: none;
|
522
|
+
font-weight: bold;
|
523
|
+
background: transparent;
|
524
|
+
}
|
525
|
+
.leaflet-container a.leaflet-popup-close-button:hover {
|
526
|
+
color: #999;
|
527
|
+
}
|
528
|
+
.leaflet-popup-scrolled {
|
529
|
+
overflow: auto;
|
530
|
+
border-bottom: 1px solid #ddd;
|
531
|
+
border-top: 1px solid #ddd;
|
532
|
+
}
|
533
|
+
|
534
|
+
.leaflet-oldie .leaflet-popup-content-wrapper {
|
535
|
+
-ms-zoom: 1;
|
536
|
+
}
|
537
|
+
.leaflet-oldie .leaflet-popup-tip {
|
538
|
+
width: 24px;
|
539
|
+
margin: 0 auto;
|
540
|
+
|
541
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
542
|
+
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
543
|
+
}
|
544
|
+
.leaflet-oldie .leaflet-popup-tip-container {
|
545
|
+
margin-top: -1px;
|
546
|
+
}
|
547
|
+
|
548
|
+
.leaflet-oldie .leaflet-control-zoom,
|
549
|
+
.leaflet-oldie .leaflet-control-layers,
|
550
|
+
.leaflet-oldie .leaflet-popup-content-wrapper,
|
551
|
+
.leaflet-oldie .leaflet-popup-tip {
|
552
|
+
border: 1px solid #999;
|
553
|
+
}
|
554
|
+
|
555
|
+
|
556
|
+
/* div icon */
|
557
|
+
|
558
|
+
.leaflet-div-icon {
|
559
|
+
background: #fff;
|
560
|
+
border: 1px solid #666;
|
561
|
+
}
|
562
|
+
|
563
|
+
|
564
|
+
/* Tooltip */
|
565
|
+
/* Base styles for the element that has a tooltip */
|
566
|
+
.leaflet-tooltip {
|
567
|
+
position: absolute;
|
568
|
+
padding: 6px;
|
569
|
+
background-color: #fff;
|
570
|
+
border: 1px solid #fff;
|
571
|
+
border-radius: 3px;
|
572
|
+
color: #222;
|
573
|
+
white-space: nowrap;
|
574
|
+
-webkit-user-select: none;
|
575
|
+
-moz-user-select: none;
|
576
|
+
-ms-user-select: none;
|
577
|
+
user-select: none;
|
578
|
+
pointer-events: none;
|
579
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.4);
|
580
|
+
}
|
581
|
+
.leaflet-tooltip.leaflet-clickable {
|
582
|
+
cursor: pointer;
|
583
|
+
pointer-events: auto;
|
584
|
+
}
|
585
|
+
.leaflet-tooltip-top:before,
|
586
|
+
.leaflet-tooltip-bottom:before,
|
587
|
+
.leaflet-tooltip-left:before,
|
588
|
+
.leaflet-tooltip-right:before {
|
589
|
+
position: absolute;
|
590
|
+
pointer-events: none;
|
591
|
+
border: 6px solid transparent;
|
592
|
+
background: transparent;
|
593
|
+
content: "";
|
594
|
+
}
|
595
|
+
|
596
|
+
/* Directions */
|
597
|
+
|
598
|
+
.leaflet-tooltip-bottom {
|
599
|
+
margin-top: 6px;
|
600
|
+
}
|
601
|
+
.leaflet-tooltip-top {
|
602
|
+
margin-top: -6px;
|
603
|
+
}
|
604
|
+
.leaflet-tooltip-bottom:before,
|
605
|
+
.leaflet-tooltip-top:before {
|
606
|
+
left: 50%;
|
607
|
+
margin-left: -6px;
|
608
|
+
}
|
609
|
+
.leaflet-tooltip-top:before {
|
610
|
+
bottom: 0;
|
611
|
+
margin-bottom: -12px;
|
612
|
+
border-top-color: #fff;
|
613
|
+
}
|
614
|
+
.leaflet-tooltip-bottom:before {
|
615
|
+
top: 0;
|
616
|
+
margin-top: -12px;
|
617
|
+
margin-left: -6px;
|
618
|
+
border-bottom-color: #fff;
|
619
|
+
}
|
620
|
+
.leaflet-tooltip-left {
|
621
|
+
margin-left: -6px;
|
622
|
+
}
|
623
|
+
.leaflet-tooltip-right {
|
624
|
+
margin-left: 6px;
|
625
|
+
}
|
626
|
+
.leaflet-tooltip-left:before,
|
627
|
+
.leaflet-tooltip-right:before {
|
628
|
+
top: 50%;
|
629
|
+
margin-top: -6px;
|
630
|
+
}
|
631
|
+
.leaflet-tooltip-left:before {
|
632
|
+
right: 0;
|
633
|
+
margin-right: -12px;
|
634
|
+
border-left-color: #fff;
|
635
|
+
}
|
636
|
+
.leaflet-tooltip-right:before {
|
637
|
+
left: 0;
|
638
|
+
margin-left: -12px;
|
639
|
+
border-right-color: #fff;
|
640
|
+
}
|