leaflet-js 0.6.beta4 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/CHANGELOG.rdoc +3 -0
- data/leaflet-js.gemspec +2 -2
- data/lib/leaflet.draw/CHANGELOG.md +45 -0
- data/lib/leaflet.draw/README.md +70 -23
- data/lib/leaflet.draw/build/deps.js +1 -0
- data/lib/leaflet.draw/dist/images/spritesheet-2x.png +0 -0
- data/lib/leaflet.draw/dist/images/spritesheet.png +0 -0
- data/lib/leaflet.draw/dist/leaflet.draw-src.js +489 -136
- data/lib/leaflet.draw/dist/leaflet.draw.css +34 -2
- data/lib/leaflet.draw/dist/leaflet.draw.ie.css +5 -0
- data/lib/leaflet.draw/dist/leaflet.draw.js +2 -2
- data/lib/leaflet.draw/examples/basic.html +14 -7
- data/lib/leaflet.draw/examples/libs/images/layers-2x.png +0 -0
- data/lib/leaflet.draw/examples/libs/images/layers.png +0 -0
- data/lib/leaflet.draw/examples/libs/images/marker-icon-2x.png +0 -0
- data/lib/leaflet.draw/examples/libs/leaflet-src.js +1129 -608
- data/lib/leaflet.draw/examples/libs/leaflet.css +85 -66
- data/lib/leaflet.draw/package.json +2 -2
- data/lib/leaflet.draw/spec/suites/DrawControlSpec.js +1 -1
- data/lib/leaflet.draw/spec/suites/GeometryUtilSpec.js +25 -0
- data/lib/leaflet.draw/spec/suites/LatLngUtilSpec.js +9 -0
- data/lib/leaflet.draw/src/Control.Draw.js +1 -0
- data/lib/leaflet.draw/src/Leaflet.draw.js +89 -1
- data/lib/leaflet.draw/src/Toolbar.js +2 -6
- data/lib/leaflet.draw/src/Tooltip.js +20 -7
- data/lib/leaflet.draw/src/draw/DrawToolbar.js +26 -22
- data/lib/leaflet.draw/src/draw/handler/Draw.Circle.js +11 -6
- data/lib/leaflet.draw/src/draw/handler/Draw.Feature.js +6 -2
- data/lib/leaflet.draw/src/draw/handler/Draw.Marker.js +7 -2
- data/lib/leaflet.draw/src/draw/handler/Draw.Polygon.js +29 -7
- data/lib/leaflet.draw/src/draw/handler/Draw.Polyline.js +44 -21
- data/lib/leaflet.draw/src/draw/handler/Draw.Rectangle.js +3 -3
- data/lib/leaflet.draw/src/draw/handler/Draw.SimpleShape.js +14 -1
- data/lib/leaflet.draw/src/edit/EditToolbar.js +86 -16
- data/lib/leaflet.draw/src/edit/handler/Edit.Poly.js +10 -7
- data/lib/leaflet.draw/src/edit/handler/Edit.SimpleShape.js +1 -2
- data/lib/leaflet.draw/src/edit/handler/EditToolbar.Delete.js +15 -3
- data/lib/leaflet.draw/src/edit/handler/EditToolbar.Edit.js +56 -38
- data/lib/leaflet.draw/src/ext/GeometryUtil.js +68 -0
- data/lib/leaflet.draw/src/images/spritesheet.svg +41 -0
- data/lib/leaflet.label/CHANGELOG.md +32 -0
- data/lib/leaflet.label/README.md +21 -4
- data/lib/leaflet.label/build/build.js +2 -2
- data/lib/leaflet.label/build/deps.js +2 -0
- data/lib/leaflet.label/build/hintrc.js +4 -0
- data/lib/leaflet.label/dist/leaflet.label-src.js +266 -83
- data/lib/leaflet.label/dist/leaflet.label.css +23 -4
- data/lib/leaflet.label/dist/leaflet.label.js +1 -1
- data/lib/leaflet.label/example/label.html +6 -3
- data/lib/leaflet.label/libs/leaflet/images/layers-2x.png +0 -0
- data/lib/leaflet.label/libs/leaflet/images/layers.png +0 -0
- data/lib/leaflet.label/libs/leaflet/images/marker-icon-2x.png +0 -0
- data/lib/leaflet.label/libs/leaflet/leaflet-src.js +1129 -608
- data/lib/leaflet.label/libs/leaflet/leaflet.css +85 -66
- data/lib/leaflet.label/libs/leaflet/leaflet.js +6 -5
- data/lib/leaflet.label/package.json +19 -0
- data/lib/leaflet.label/src/BaseMarkerMethods.js +129 -0
- data/lib/leaflet.label/src/CircleMarker.Label.js +7 -0
- data/lib/leaflet.label/src/Label.js +161 -37
- data/lib/leaflet.label/src/Leaflet.label.js +1 -1
- data/lib/leaflet.label/src/Map.Label.js +0 -2
- data/lib/leaflet.label/src/Marker.Label.js +15 -120
- data/lib/leaflet.label/src/Path.Label.js +11 -11
- data/lib/leaflet/CHANGELOG.md +299 -31
- data/lib/leaflet/CONTRIBUTING.md +3 -3
- data/lib/leaflet/FAQ.md +138 -0
- data/lib/leaflet/Jakefile.js +24 -4
- data/lib/leaflet/PLUGIN-GUIDE.md +127 -0
- data/lib/leaflet/README.md +10 -6
- data/lib/leaflet/build/build.html +3 -19
- data/lib/leaflet/build/build.js +21 -51
- data/lib/leaflet/build/deps.js +10 -7
- data/lib/leaflet/build/hintrc.js +6 -4
- data/lib/leaflet/debug/hacks/jitter.html +0 -1
- data/lib/leaflet/debug/map/canvas.html +11 -12
- data/lib/leaflet/debug/map/controls.html +3 -4
- data/lib/leaflet/debug/map/geolocation.html +0 -1
- data/lib/leaflet/debug/map/iframe.html +11 -0
- data/lib/leaflet/debug/map/image-overlay.html +0 -1
- data/lib/leaflet/debug/map/map-mobile.html +0 -1
- data/lib/leaflet/debug/map/map.html +1 -2
- data/lib/leaflet/debug/map/max-bounds.html +2 -1
- data/lib/leaflet/debug/map/opacity.html +223 -0
- data/lib/leaflet/debug/map/scroll.html +6 -1
- data/lib/leaflet/debug/map/simple-proj.html +0 -1
- data/lib/leaflet/debug/map/wms-marble.html +4 -5
- data/lib/leaflet/debug/map/wms.html +0 -1
- data/lib/leaflet/debug/map/zoomlevels.html +0 -1
- data/lib/leaflet/debug/tests/add_remove_layers.html +5 -6
- data/lib/leaflet/debug/tests/bringtoback.html +0 -1
- data/lib/leaflet/debug/tests/canvasloop.html +47 -0
- data/lib/leaflet/debug/tests/click_on_canvas.html +0 -1
- data/lib/leaflet/debug/tests/dragging_and_copyworldjump.html +61 -0
- data/lib/leaflet/debug/tests/opacity.html +0 -1
- data/lib/leaflet/debug/tests/popupcontextmenuclicks.html +59 -0
- data/lib/leaflet/debug/tests/remove_while_dragging.html +4 -5
- data/lib/leaflet/debug/tests/removetilewhilepan.html +0 -1
- data/lib/leaflet/debug/tests/reuse_popups.html +0 -1
- data/lib/leaflet/debug/tests/rtl.html +42 -0
- data/lib/leaflet/debug/tests/rtl2.html +27 -0
- data/lib/leaflet/debug/tests/set_icon_reuse_dom.html +43 -0
- data/lib/leaflet/debug/tests/svg_clicks.html +3 -4
- data/lib/leaflet/debug/vector/bounds-extend.html +0 -1
- data/lib/leaflet/debug/vector/feature-group-bounds.html +0 -1
- data/lib/leaflet/debug/vector/geojson.html +0 -1
- data/lib/leaflet/debug/vector/rectangle.html +0 -1
- data/lib/leaflet/debug/vector/touchzoomemu.html +2 -3
- data/lib/leaflet/debug/vector/vector-bounds.html +0 -1
- data/lib/leaflet/debug/vector/vector-canvas.html +0 -1
- data/lib/leaflet/debug/vector/vector-mobile.html +0 -1
- data/lib/leaflet/debug/vector/vector-simple.html +0 -1
- data/lib/leaflet/debug/vector/vector.html +0 -1
- data/lib/leaflet/dist/images/layers-2x.png +0 -0
- data/lib/leaflet/dist/images/layers.png +0 -0
- data/lib/leaflet/dist/leaflet.css +85 -66
- data/lib/leaflet/package.json +25 -20
- data/lib/leaflet/spec/after.js +1 -1
- data/lib/leaflet/spec/index.html +21 -13
- data/lib/leaflet/spec/karma.conf.js +51 -50
- data/lib/leaflet/spec/spec.hintrc.js +25 -0
- data/lib/leaflet/spec/suites/LeafletSpec.js +2 -2
- data/lib/leaflet/spec/suites/SpecHelper.js +37 -21
- data/lib/leaflet/spec/suites/control/Control.LayersSpec.js +1 -1
- data/lib/leaflet/spec/suites/core/ClassSpec.js +12 -12
- data/lib/leaflet/spec/suites/core/EventsSpec.js +74 -18
- data/lib/leaflet/spec/suites/core/UtilSpec.js +69 -25
- data/lib/leaflet/spec/suites/dom/DomEventSpec.js +16 -16
- data/lib/leaflet/spec/suites/dom/DomUtilSpec.js +9 -16
- data/lib/leaflet/spec/suites/dom/PosAnimationSpec.js +27 -0
- data/lib/leaflet/spec/suites/geo/CRSSpec.js +47 -0
- data/lib/leaflet/spec/suites/geo/LatLngBoundsSpec.js +22 -14
- data/lib/leaflet/spec/suites/geo/LatLngSpec.js +22 -8
- data/lib/leaflet/spec/suites/geo/ProjectionSpec.js +21 -20
- data/lib/leaflet/spec/suites/geometry/BoundsSpec.js +15 -15
- data/lib/leaflet/spec/suites/geometry/PointSpec.js +12 -12
- data/lib/leaflet/spec/suites/geometry/TransformationSpec.js +4 -4
- data/lib/leaflet/spec/suites/layer/FeatureGroupSpec.js +59 -9
- data/lib/leaflet/spec/suites/layer/GeoJSONSpec.js +213 -17
- data/lib/leaflet/spec/suites/layer/LayerGroupSpec.js +6 -6
- data/lib/leaflet/spec/suites/layer/PopupSpec.js +65 -5
- data/lib/leaflet/spec/suites/layer/TileLayerSpec.js +16 -15
- data/lib/leaflet/spec/suites/layer/marker/MarkerSpec.js +94 -0
- data/lib/leaflet/spec/suites/layer/vector/CircleMarkerSpec.js +7 -7
- data/lib/leaflet/spec/suites/layer/vector/PolygonSpec.js +38 -2
- data/lib/leaflet/spec/suites/layer/vector/PolylineGeometrySpec.js +4 -4
- data/lib/leaflet/spec/suites/layer/vector/PolylineSpec.js +2 -2
- data/lib/leaflet/spec/suites/map/MapSpec.js +318 -26
- data/lib/leaflet/spec/suites/map/handler/Map.DragSpec.js +38 -0
- data/lib/leaflet/src/Leaflet.js +2 -2
- data/lib/leaflet/src/control/Control.Attribution.js +6 -0
- data/lib/leaflet/src/control/Control.Layers.js +33 -24
- data/lib/leaflet/src/control/Control.Zoom.js +12 -4
- data/lib/leaflet/src/control/Control.js +10 -0
- data/lib/leaflet/src/copyright.js +2 -1
- data/lib/leaflet/src/core/Browser.js +11 -10
- data/lib/leaflet/src/core/Events.js +15 -11
- data/lib/leaflet/src/core/Util.js +19 -14
- data/lib/leaflet/src/dom/DomEvent.DoubleTap.js +13 -12
- data/lib/leaflet/src/dom/DomEvent.Pointer.js +155 -0
- data/lib/leaflet/src/dom/DomEvent.js +57 -19
- data/lib/leaflet/src/dom/DomUtil.js +89 -34
- data/lib/leaflet/src/dom/Draggable.js +26 -89
- data/lib/leaflet/src/dom/PosAnimation.js +13 -2
- data/lib/leaflet/src/geo/LatLng.js +16 -5
- data/lib/leaflet/src/geo/LatLngBounds.js +5 -2
- data/lib/leaflet/src/geo/crs/CRS.EPSG3395.js +2 -2
- data/lib/leaflet/src/geo/crs/CRS.js +5 -0
- data/lib/leaflet/src/geo/projection/Projection.Mercator.js +3 -3
- data/lib/leaflet/src/geometry/LineUtil.js +2 -2
- data/lib/leaflet/src/images/layers.svg +8 -0
- data/lib/leaflet/src/images/marker.svg +61 -1
- data/lib/leaflet/src/layer/FeatureGroup.js +24 -7
- data/lib/leaflet/src/layer/GeoJSON.js +97 -56
- data/lib/leaflet/src/layer/ImageOverlay.js +9 -0
- data/lib/leaflet/src/layer/LayerGroup.js +8 -3
- data/lib/leaflet/src/layer/Popup.js +56 -34
- data/lib/leaflet/src/layer/marker/DivIcon.js +4 -2
- data/lib/leaflet/src/layer/marker/Icon.Default.js +1 -1
- data/lib/leaflet/src/layer/marker/Icon.js +15 -18
- data/lib/leaflet/src/layer/marker/Marker.Drag.js +7 -5
- data/lib/leaflet/src/layer/marker/Marker.Popup.js +22 -5
- data/lib/leaflet/src/layer/marker/Marker.js +75 -32
- data/lib/leaflet/src/layer/tile/TileLayer.Anim.js +14 -26
- data/lib/leaflet/src/layer/tile/TileLayer.Canvas.js +7 -6
- data/lib/leaflet/src/layer/tile/TileLayer.WMS.js +14 -10
- data/lib/leaflet/src/layer/tile/TileLayer.js +53 -32
- data/lib/leaflet/src/layer/vector/CircleMarker.js +11 -0
- data/lib/leaflet/src/layer/vector/MultiPoly.js +10 -0
- data/lib/leaflet/src/layer/vector/Path.SVG.js +14 -3
- data/lib/leaflet/src/layer/vector/Path.VML.js +12 -2
- data/lib/leaflet/src/layer/vector/Path.js +7 -3
- data/lib/leaflet/src/layer/vector/Polygon.js +14 -3
- data/lib/leaflet/src/layer/vector/canvas/CircleMarker.Canvas.js +9 -0
- data/lib/leaflet/src/layer/vector/canvas/Path.Canvas.js +1 -0
- data/lib/leaflet/src/map/Map.js +192 -125
- data/lib/leaflet/src/map/anim/Map.PanAnimation.js +29 -19
- data/lib/leaflet/src/map/anim/Map.ZoomAnimation.js +21 -9
- data/lib/leaflet/src/map/ext/Map.Geolocation.js +11 -4
- data/lib/leaflet/src/map/handler/Map.BoxZoom.js +26 -12
- data/lib/leaflet/src/map/handler/Map.DoubleClickZoom.js +10 -3
- data/lib/leaflet/src/map/handler/Map.Drag.js +12 -6
- data/lib/leaflet/src/map/handler/Map.Keyboard.js +5 -2
- data/lib/leaflet/src/map/handler/Map.ScrollWheelZoom.js +7 -1
- data/lib/leaflet/src/map/handler/Map.Tap.js +107 -0
- data/lib/leaflet/src/map/handler/Map.TouchZoom.js +9 -3
- data/vendor/assets/images/layers-2x.png +0 -0
- data/vendor/assets/images/layers.png +0 -0
- data/vendor/assets/images/spritesheet-2x.png +0 -0
- data/vendor/assets/images/spritesheet.png +0 -0
- data/vendor/assets/javascripts/leaflet.draw.js +2 -4
- data/vendor/assets/javascripts/leaflet.js +3 -1
- data/vendor/assets/javascripts/leaflet.label.js +2 -0
- data/vendor/assets/stylesheets/leaflet.css.erb +337 -318
- data/vendor/assets/stylesheets/leaflet.draw.css.erb +35 -3
- data/vendor/assets/stylesheets/leaflet.draw.ie.css +5 -0
- data/vendor/assets/stylesheets/leaflet.label.css +23 -4
- metadata +40 -14
- data/lib/leaflet.draw/examples/libs/leaflet.ie.css +0 -51
- data/lib/leaflet.label/libs/leaflet/leaflet.ie.css +0 -51
- data/lib/leaflet/dist/leaflet-src.js +0 -8579
- data/lib/leaflet/dist/leaflet.ie.css +0 -51
- data/lib/leaflet/dist/leaflet.js +0 -8
- data/lib/leaflet/spec/happen.js +0 -93
- data/lib/leaflet/src/dom/DomEvent.MsTouch.js +0 -146
- data/vendor/assets/stylesheets/leaflet.ie.css +0 -51
@@ -3,7 +3,8 @@
|
|
3
3
|
*/
|
4
4
|
|
5
5
|
L.Map.mergeOptions({
|
6
|
-
touchZoom: L.Browser.touch && !L.Browser.android23
|
6
|
+
touchZoom: L.Browser.touch && !L.Browser.android23,
|
7
|
+
bounceAtZoomLimits: true
|
7
8
|
});
|
8
9
|
|
9
10
|
L.Map.TouchZoom = L.Handler.extend({
|
@@ -56,6 +57,11 @@ L.Map.TouchZoom = L.Handler.extend({
|
|
56
57
|
|
57
58
|
if (this._scale === 1) { return; }
|
58
59
|
|
60
|
+
if (!map.options.bounceAtZoomLimits) {
|
61
|
+
if ((map.getZoom() === map.getMinZoom() && this._scale < 1) ||
|
62
|
+
(map.getZoom() === map.getMaxZoom() && this._scale > 1)) { return; }
|
63
|
+
}
|
64
|
+
|
59
65
|
if (!this._moved) {
|
60
66
|
L.DomUtil.addClass(map._mapPane, 'leaflet-touching');
|
61
67
|
|
@@ -79,7 +85,7 @@ L.Map.TouchZoom = L.Handler.extend({
|
|
79
85
|
center = map.layerPointToLatLng(origin),
|
80
86
|
zoom = map.getScaleZoom(this._scale);
|
81
87
|
|
82
|
-
map._animateZoom(center, zoom, this._startCenter, this._scale, this._delta
|
88
|
+
map._animateZoom(center, zoom, this._startCenter, this._scale, this._delta);
|
83
89
|
},
|
84
90
|
|
85
91
|
_onTouchEnd: function () {
|
@@ -109,7 +115,7 @@ L.Map.TouchZoom = L.Handler.extend({
|
|
109
115
|
zoom = map._limitZoom(oldZoom + roundZoomDelta),
|
110
116
|
scale = map.getZoomScale(zoom) / this._scale;
|
111
117
|
|
112
|
-
map._animateZoom(center, zoom, origin, scale
|
118
|
+
map._animateZoom(center, zoom, origin, scale);
|
113
119
|
},
|
114
120
|
|
115
121
|
_getScaleOrigin: function () {
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
// Extensions
|
20
20
|
//=require ../../../lib/leaflet.draw/src/ext/LatLngUtil.js
|
21
|
+
//=require ../../../lib/leaflet.draw/src/ext/GeometryUtil.js
|
21
22
|
//=require ../../../lib/leaflet.draw/src/ext/LineUtil.Intersect.js
|
22
23
|
//=require ../../../lib/leaflet.draw/src/ext/Polyline.Intersect.js
|
23
24
|
//=require ../../../lib/leaflet.draw/src/ext/Polygon.Intersect.js
|
@@ -27,10 +28,7 @@
|
|
27
28
|
//=require ../../../lib/leaflet.draw/src/Toolbar.js
|
28
29
|
//=require ../../../lib/leaflet.draw/src/Tooltip.js
|
29
30
|
|
30
|
-
//
|
31
|
-
//=require ../../../lib/leaflet.draw/src/draw/DrawToolbar.js
|
32
|
-
|
33
|
-
// CommonUI
|
31
|
+
// DrawUI
|
34
32
|
//=require ../../../lib/leaflet.draw/src/draw/DrawToolbar.js
|
35
33
|
|
36
34
|
// EditUI
|
@@ -89,6 +89,7 @@
|
|
89
89
|
//=require ../../../lib/leaflet/src/layer/vector/canvas/Polyline.Canvas.js
|
90
90
|
//=require ../../../lib/leaflet/src/layer/vector/canvas/Polygon.Canvas.js
|
91
91
|
//=require ../../../lib/leaflet/src/layer/vector/canvas/Circle.Canvas.js
|
92
|
+
//=require ../../../lib/leaflet/src/layer/vector/canvas/CircleMarker.Canvas.js
|
92
93
|
|
93
94
|
// GeoJSON
|
94
95
|
//=require ../../../lib/leaflet/src/layer/GeoJSON.js
|
@@ -105,8 +106,9 @@
|
|
105
106
|
|
106
107
|
// TouchZoom
|
107
108
|
//=require ../../../lib/leaflet/src/dom/DomEvent.DoubleTap.js
|
108
|
-
//=require ../../../lib/leaflet/src/dom/DomEvent.
|
109
|
+
//=require ../../../lib/leaflet/src/dom/DomEvent.Pointer.js
|
109
110
|
//=require ../../../lib/leaflet/src/map/handler/Map.TouchZoom.js
|
111
|
+
//=require ../../../lib/leaflet/src/map/handler/Map.Tap.js
|
110
112
|
|
111
113
|
// BoxZoom
|
112
114
|
//=require ../../../lib/leaflet/src/map/handler/Map.BoxZoom.js
|
@@ -3,7 +3,9 @@
|
|
3
3
|
|
4
4
|
// Label
|
5
5
|
//=require ../../../lib/leaflet.label/src/Label.js
|
6
|
+
//=require ../../../lib/leaflet.label/src/BaseMarkerMethods.js
|
6
7
|
//=require ../../../lib/leaflet.label/src/Marker.Label.js
|
8
|
+
//=require ../../../lib/leaflet.label/src/CircleMarker.Label.js
|
7
9
|
//=require ../../../lib/leaflet.label/src/Path.Label.js
|
8
10
|
//=require ../../../lib/leaflet.label/src/Map.Label.js
|
9
11
|
//=require ../../../lib/leaflet.label/src/FeatureGroup.Label.js
|
@@ -14,45 +14,49 @@
|
|
14
14
|
.leaflet-zoom-box,
|
15
15
|
.leaflet-image-layer,
|
16
16
|
.leaflet-layer {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
}
|
17
|
+
position: absolute;
|
18
|
+
left: 0;
|
19
|
+
top: 0;
|
20
|
+
}
|
21
21
|
.leaflet-container {
|
22
|
-
|
23
|
-
|
24
|
-
}
|
22
|
+
overflow: hidden;
|
23
|
+
-ms-touch-action: none;
|
24
|
+
}
|
25
25
|
.leaflet-tile,
|
26
26
|
.leaflet-marker-icon,
|
27
27
|
.leaflet-marker-shadow {
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
}
|
28
|
+
-webkit-user-select: none;
|
29
|
+
-moz-user-select: none;
|
30
|
+
user-select: none;
|
31
|
+
-webkit-user-drag: none;
|
32
|
+
}
|
33
33
|
.leaflet-marker-icon,
|
34
34
|
.leaflet-marker-shadow {
|
35
|
-
|
36
|
-
}
|
37
|
-
|
35
|
+
display: block;
|
36
|
+
}
|
37
|
+
/* map is broken in FF if you have max-width: 100% on tiles */
|
38
38
|
.leaflet-container img {
|
39
|
-
|
40
|
-
}
|
41
|
-
|
39
|
+
max-width: none !important;
|
40
|
+
}
|
41
|
+
/* stupid Android 2 doesn't understand "max-width: none" properly */
|
42
42
|
.leaflet-container img.leaflet-image-layer {
|
43
|
-
|
44
|
-
}
|
43
|
+
max-width: 15000px !important;
|
44
|
+
}
|
45
45
|
.leaflet-tile {
|
46
|
-
|
47
|
-
|
48
|
-
}
|
46
|
+
filter: inherit;
|
47
|
+
visibility: hidden;
|
48
|
+
}
|
49
49
|
.leaflet-tile-loaded {
|
50
|
-
|
51
|
-
}
|
50
|
+
visibility: inherit;
|
51
|
+
}
|
52
52
|
.leaflet-zoom-box {
|
53
|
-
|
54
|
-
|
55
|
-
}
|
53
|
+
width: 0;
|
54
|
+
height: 0;
|
55
|
+
}
|
56
|
+
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
|
57
|
+
.leaflet-overlay-pane svg {
|
58
|
+
-moz-user-select: none;
|
59
|
+
}
|
56
60
|
|
57
61
|
.leaflet-tile-pane { z-index: 2; }
|
58
62
|
.leaflet-objects-pane { z-index: 3; }
|
@@ -61,399 +65,414 @@
|
|
61
65
|
.leaflet-marker-pane { z-index: 6; }
|
62
66
|
.leaflet-popup-pane { z-index: 7; }
|
63
67
|
|
68
|
+
.leaflet-vml-shape {
|
69
|
+
width: 1px;
|
70
|
+
height: 1px;
|
71
|
+
}
|
72
|
+
.lvml {
|
73
|
+
behavior: url(#default#VML);
|
74
|
+
display: inline-block;
|
75
|
+
position: absolute;
|
76
|
+
}
|
64
77
|
|
65
|
-
|
78
|
+
|
79
|
+
/* control positioning */
|
66
80
|
|
67
81
|
.leaflet-control {
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
}
|
82
|
+
position: relative;
|
83
|
+
z-index: 7;
|
84
|
+
pointer-events: auto;
|
85
|
+
}
|
72
86
|
.leaflet-top,
|
73
87
|
.leaflet-bottom {
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
}
|
88
|
+
position: absolute;
|
89
|
+
z-index: 1000;
|
90
|
+
pointer-events: none;
|
91
|
+
}
|
78
92
|
.leaflet-top {
|
79
|
-
|
80
|
-
}
|
93
|
+
top: 0;
|
94
|
+
}
|
81
95
|
.leaflet-right {
|
82
|
-
|
83
|
-
}
|
96
|
+
right: 0;
|
97
|
+
}
|
84
98
|
.leaflet-bottom {
|
85
|
-
|
86
|
-
}
|
99
|
+
bottom: 0;
|
100
|
+
}
|
87
101
|
.leaflet-left {
|
88
|
-
|
89
|
-
}
|
102
|
+
left: 0;
|
103
|
+
}
|
90
104
|
.leaflet-control {
|
91
|
-
|
92
|
-
|
93
|
-
}
|
105
|
+
float: left;
|
106
|
+
clear: both;
|
107
|
+
}
|
94
108
|
.leaflet-right .leaflet-control {
|
95
|
-
|
96
|
-
}
|
109
|
+
float: right;
|
110
|
+
}
|
97
111
|
.leaflet-top .leaflet-control {
|
98
|
-
|
99
|
-
}
|
112
|
+
margin-top: 10px;
|
113
|
+
}
|
100
114
|
.leaflet-bottom .leaflet-control {
|
101
|
-
|
102
|
-
}
|
115
|
+
margin-bottom: 10px;
|
116
|
+
}
|
103
117
|
.leaflet-left .leaflet-control {
|
104
|
-
|
105
|
-
}
|
118
|
+
margin-left: 10px;
|
119
|
+
}
|
106
120
|
.leaflet-right .leaflet-control {
|
107
|
-
|
108
|
-
}
|
121
|
+
margin-right: 10px;
|
122
|
+
}
|
109
123
|
|
110
124
|
|
111
|
-
|
125
|
+
/* zoom and fade animations */
|
112
126
|
|
113
127
|
.leaflet-fade-anim .leaflet-tile,
|
114
128
|
.leaflet-fade-anim .leaflet-popup {
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
}
|
129
|
+
opacity: 0;
|
130
|
+
-webkit-transition: opacity 0.2s linear;
|
131
|
+
-moz-transition: opacity 0.2s linear;
|
132
|
+
-o-transition: opacity 0.2s linear;
|
133
|
+
transition: opacity 0.2s linear;
|
134
|
+
}
|
121
135
|
.leaflet-fade-anim .leaflet-tile-loaded,
|
122
136
|
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
|
123
|
-
|
124
|
-
}
|
137
|
+
opacity: 1;
|
138
|
+
}
|
125
139
|
|
126
140
|
.leaflet-zoom-anim .leaflet-zoom-animated {
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
}
|
141
|
+
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
|
142
|
+
-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
|
143
|
+
-o-transition: -o-transform 0.25s cubic-bezier(0,0,0.25,1);
|
144
|
+
transition: transform 0.25s cubic-bezier(0,0,0.25,1);
|
145
|
+
}
|
132
146
|
.leaflet-zoom-anim .leaflet-tile,
|
133
147
|
.leaflet-pan-anim .leaflet-tile,
|
134
148
|
.leaflet-touching .leaflet-zoom-animated {
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
}
|
149
|
+
-webkit-transition: none;
|
150
|
+
-moz-transition: none;
|
151
|
+
-o-transition: none;
|
152
|
+
transition: none;
|
153
|
+
}
|
140
154
|
|
141
155
|
.leaflet-zoom-anim .leaflet-zoom-hide {
|
142
|
-
|
143
|
-
}
|
156
|
+
visibility: hidden;
|
157
|
+
}
|
144
158
|
|
145
159
|
|
146
|
-
|
160
|
+
/* cursors */
|
147
161
|
|
148
162
|
.leaflet-clickable {
|
149
|
-
|
150
|
-
}
|
163
|
+
cursor: pointer;
|
164
|
+
}
|
151
165
|
.leaflet-container {
|
152
|
-
|
153
|
-
|
154
|
-
}
|
166
|
+
cursor: -webkit-grab;
|
167
|
+
cursor: -moz-grab;
|
168
|
+
}
|
155
169
|
.leaflet-popup-pane,
|
156
170
|
.leaflet-control {
|
157
|
-
|
158
|
-
}
|
159
|
-
.leaflet-dragging,
|
160
|
-
.leaflet-dragging .leaflet-clickable
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
}
|
171
|
+
cursor: auto;
|
172
|
+
}
|
173
|
+
.leaflet-dragging .leaflet-container,
|
174
|
+
.leaflet-dragging .leaflet-clickable {
|
175
|
+
cursor: move;
|
176
|
+
cursor: -webkit-grabbing;
|
177
|
+
cursor: -moz-grabbing;
|
178
|
+
}
|
166
179
|
|
167
180
|
|
168
|
-
|
181
|
+
/* visual tweaks */
|
169
182
|
|
170
183
|
.leaflet-container {
|
171
|
-
|
172
|
-
|
173
|
-
}
|
184
|
+
background: #ddd;
|
185
|
+
outline: 0;
|
186
|
+
}
|
174
187
|
.leaflet-container a {
|
175
|
-
|
176
|
-
}
|
188
|
+
color: #0078A8;
|
189
|
+
}
|
177
190
|
.leaflet-container a.leaflet-active {
|
178
|
-
|
179
|
-
}
|
191
|
+
outline: 2px solid orange;
|
192
|
+
}
|
180
193
|
.leaflet-zoom-box {
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
}
|
194
|
+
border: 2px dotted #38f;
|
195
|
+
background: rgba(255,255,255,0.5);
|
196
|
+
}
|
185
197
|
|
186
198
|
|
187
|
-
|
199
|
+
/* general typography */
|
188
200
|
.leaflet-container {
|
189
|
-
|
190
|
-
}
|
201
|
+
font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
|
202
|
+
}
|
191
203
|
|
192
204
|
|
193
|
-
|
205
|
+
/* general toolbar styles */
|
194
206
|
|
195
207
|
.leaflet-bar {
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
.leaflet-bar a {
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
}
|
208
|
+
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
|
209
|
+
border-radius: 4px;
|
210
|
+
}
|
211
|
+
.leaflet-bar a,
|
212
|
+
.leaflet-bar a:hover {
|
213
|
+
background-color: #fff;
|
214
|
+
border-bottom: 1px solid #ccc;
|
215
|
+
width: 26px;
|
216
|
+
height: 26px;
|
217
|
+
line-height: 26px;
|
218
|
+
display: block;
|
219
|
+
text-align: center;
|
220
|
+
text-decoration: none;
|
221
|
+
color: black;
|
222
|
+
}
|
211
223
|
.leaflet-bar a,
|
212
224
|
.leaflet-control-layers-toggle {
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
}
|
225
|
+
background-position: 50% 50%;
|
226
|
+
background-repeat: no-repeat;
|
227
|
+
display: block;
|
228
|
+
}
|
217
229
|
.leaflet-bar a:hover {
|
218
|
-
|
219
|
-
}
|
230
|
+
background-color: #f4f4f4;
|
231
|
+
}
|
220
232
|
.leaflet-bar a:first-child {
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
border-top-right-radius: 4px;
|
225
|
-
}
|
233
|
+
border-top-left-radius: 4px;
|
234
|
+
border-top-right-radius: 4px;
|
235
|
+
}
|
226
236
|
.leaflet-bar a:last-child {
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
border-bottom: none;
|
232
|
-
}
|
237
|
+
border-bottom-left-radius: 4px;
|
238
|
+
border-bottom-right-radius: 4px;
|
239
|
+
border-bottom: none;
|
240
|
+
}
|
233
241
|
.leaflet-bar a.leaflet-disabled {
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
}
|
242
|
+
cursor: default;
|
243
|
+
background-color: #f4f4f4;
|
244
|
+
color: #bbb;
|
245
|
+
}
|
238
246
|
|
239
|
-
.leaflet-touch .leaflet-bar {
|
240
|
-
-webkit-border-radius: 10px;
|
241
|
-
border-radius: 10px;
|
242
|
-
}
|
243
247
|
.leaflet-touch .leaflet-bar a {
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
.leaflet-touch .leaflet-bar a:last-child {
|
254
|
-
-webkit-border-bottom-left-radius: 7px;
|
255
|
-
border-bottom-left-radius: 7px;
|
256
|
-
-webkit-border-bottom-right-radius: 7px;
|
257
|
-
border-bottom-right-radius: 7px;
|
258
|
-
border-bottom: none;
|
259
|
-
}
|
260
|
-
|
261
|
-
|
262
|
-
/* zoom control */
|
263
|
-
|
264
|
-
.leaflet-control-zoom-in {
|
265
|
-
font: bold 18px 'Lucida Console', Monaco, monospace;
|
266
|
-
}
|
248
|
+
width: 30px;
|
249
|
+
height: 30px;
|
250
|
+
line-height: 30px;
|
251
|
+
}
|
252
|
+
|
253
|
+
|
254
|
+
/* zoom control */
|
255
|
+
|
256
|
+
.leaflet-control-zoom-in,
|
267
257
|
.leaflet-control-zoom-out {
|
268
|
-
|
269
|
-
|
258
|
+
font: bold 18px 'Lucida Console', Monaco, monospace;
|
259
|
+
text-indent: 1px;
|
260
|
+
}
|
261
|
+
.leaflet-control-zoom-out {
|
262
|
+
font-size: 20px;
|
263
|
+
}
|
270
264
|
|
271
265
|
.leaflet-touch .leaflet-control-zoom-in {
|
272
|
-
|
273
|
-
|
274
|
-
}
|
266
|
+
font-size: 22px;
|
267
|
+
}
|
275
268
|
.leaflet-touch .leaflet-control-zoom-out {
|
276
|
-
|
277
|
-
|
278
|
-
}
|
269
|
+
font-size: 24px;
|
270
|
+
}
|
279
271
|
|
280
272
|
|
281
|
-
|
273
|
+
/* layers control */
|
282
274
|
|
283
275
|
.leaflet-control-layers {
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
}
|
276
|
+
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
|
277
|
+
background: #fff;
|
278
|
+
border-radius: 5px;
|
279
|
+
}
|
289
280
|
.leaflet-control-layers-toggle {
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
}
|
281
|
+
background-image: url(<%= asset_path 'layers.png' %>);
|
282
|
+
width: 36px;
|
283
|
+
height: 36px;
|
284
|
+
}
|
285
|
+
.leaflet-retina .leaflet-control-layers-toggle {
|
286
|
+
background-image: url(<%= asset_path 'layers-2x.png' %>);
|
287
|
+
background-size: 26px 26px;
|
288
|
+
}
|
294
289
|
.leaflet-touch .leaflet-control-layers-toggle {
|
295
|
-
|
296
|
-
|
297
|
-
}
|
290
|
+
width: 44px;
|
291
|
+
height: 44px;
|
292
|
+
}
|
298
293
|
.leaflet-control-layers .leaflet-control-layers-list,
|
299
294
|
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
|
300
|
-
|
301
|
-
}
|
295
|
+
display: none;
|
296
|
+
}
|
302
297
|
.leaflet-control-layers-expanded .leaflet-control-layers-list {
|
303
|
-
|
304
|
-
|
305
|
-
}
|
298
|
+
display: block;
|
299
|
+
position: relative;
|
300
|
+
}
|
306
301
|
.leaflet-control-layers-expanded {
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
}
|
302
|
+
padding: 6px 10px 6px 6px;
|
303
|
+
color: #333;
|
304
|
+
background: #fff;
|
305
|
+
}
|
311
306
|
.leaflet-control-layers-selector {
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
}
|
307
|
+
margin-top: 2px;
|
308
|
+
position: relative;
|
309
|
+
top: 1px;
|
310
|
+
}
|
316
311
|
.leaflet-control-layers label {
|
317
|
-
|
318
|
-
}
|
312
|
+
display: block;
|
313
|
+
}
|
319
314
|
.leaflet-control-layers-separator {
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
}
|
315
|
+
height: 0;
|
316
|
+
border-top: 1px solid #ddd;
|
317
|
+
margin: 5px -10px 5px -6px;
|
318
|
+
}
|
324
319
|
|
325
320
|
|
326
|
-
|
321
|
+
/* attribution and scale controls */
|
327
322
|
|
328
323
|
.leaflet-container .leaflet-control-attribution {
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
}
|
324
|
+
background: #fff;
|
325
|
+
background: rgba(255, 255, 255, 0.7);
|
326
|
+
margin: 0;
|
327
|
+
}
|
333
328
|
.leaflet-control-attribution,
|
334
329
|
.leaflet-control-scale-line {
|
335
|
-
|
336
|
-
|
337
|
-
}
|
330
|
+
padding: 0 5px;
|
331
|
+
color: #333;
|
332
|
+
}
|
333
|
+
.leaflet-control-attribution a {
|
334
|
+
text-decoration: none;
|
335
|
+
}
|
336
|
+
.leaflet-control-attribution a:hover {
|
337
|
+
text-decoration: underline;
|
338
|
+
}
|
338
339
|
.leaflet-container .leaflet-control-attribution,
|
339
340
|
.leaflet-container .leaflet-control-scale {
|
340
|
-
|
341
|
-
}
|
341
|
+
font-size: 11px;
|
342
|
+
}
|
342
343
|
.leaflet-left .leaflet-control-scale {
|
343
|
-
|
344
|
-
}
|
344
|
+
margin-left: 5px;
|
345
|
+
}
|
345
346
|
.leaflet-bottom .leaflet-control-scale {
|
346
|
-
|
347
|
-
}
|
347
|
+
margin-bottom: 5px;
|
348
|
+
}
|
348
349
|
.leaflet-control-scale-line {
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
350
|
+
border: 2px solid #777;
|
351
|
+
border-top: none;
|
352
|
+
line-height: 1.1;
|
353
|
+
padding: 2px 5px 1px;
|
354
|
+
font-size: 11px;
|
355
|
+
white-space: nowrap;
|
356
|
+
overflow: hidden;
|
357
|
+
-moz-box-sizing: content-box;
|
358
|
+
box-sizing: content-box;
|
359
|
+
|
360
|
+
background: #fff;
|
361
|
+
background: rgba(255, 255, 255, 0.5);
|
362
|
+
}
|
361
363
|
.leaflet-control-scale-line:not(:first-child) {
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
}
|
364
|
+
border-top: 2px solid #777;
|
365
|
+
border-bottom: none;
|
366
|
+
margin-top: -2px;
|
367
|
+
}
|
367
368
|
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
|
368
|
-
|
369
|
-
}
|
369
|
+
border-bottom: 2px solid #777;
|
370
|
+
}
|
370
371
|
|
371
372
|
.leaflet-touch .leaflet-control-attribution,
|
372
373
|
.leaflet-touch .leaflet-control-layers,
|
373
|
-
.leaflet-touch .leaflet-
|
374
|
-
|
375
|
-
}
|
374
|
+
.leaflet-touch .leaflet-bar {
|
375
|
+
box-shadow: none;
|
376
|
+
}
|
376
377
|
.leaflet-touch .leaflet-control-layers,
|
377
|
-
.leaflet-touch .leaflet-
|
378
|
-
|
379
|
-
|
378
|
+
.leaflet-touch .leaflet-bar {
|
379
|
+
border: 2px solid rgba(0,0,0,0.2);
|
380
|
+
background-clip: padding-box;
|
381
|
+
}
|
380
382
|
|
381
383
|
|
382
|
-
|
384
|
+
/* popup */
|
383
385
|
|
384
386
|
.leaflet-popup {
|
385
|
-
|
386
|
-
|
387
|
-
}
|
387
|
+
position: absolute;
|
388
|
+
text-align: center;
|
389
|
+
}
|
388
390
|
.leaflet-popup-content-wrapper {
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
}
|
391
|
+
padding: 1px;
|
392
|
+
text-align: left;
|
393
|
+
border-radius: 12px;
|
394
|
+
}
|
394
395
|
.leaflet-popup-content {
|
395
|
-
|
396
|
-
|
397
|
-
}
|
396
|
+
margin: 13px 19px;
|
397
|
+
line-height: 1.4;
|
398
|
+
}
|
398
399
|
.leaflet-popup-content p {
|
399
|
-
|
400
|
-
}
|
400
|
+
margin: 18px 0;
|
401
|
+
}
|
401
402
|
.leaflet-popup-tip-container {
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
}
|
403
|
+
margin: 0 auto;
|
404
|
+
width: 40px;
|
405
|
+
height: 20px;
|
406
|
+
position: relative;
|
407
|
+
overflow: hidden;
|
408
|
+
}
|
409
|
+
.leaflet-popup-tip {
|
410
|
+
width: 17px;
|
411
|
+
height: 17px;
|
412
|
+
padding: 1px;
|
413
|
+
|
414
|
+
margin: -10px auto 0;
|
415
|
+
|
416
|
+
-webkit-transform: rotate(45deg);
|
417
|
+
-moz-transform: rotate(45deg);
|
418
|
+
-ms-transform: rotate(45deg);
|
419
|
+
-o-transform: rotate(45deg);
|
420
|
+
transform: rotate(45deg);
|
421
|
+
}
|
422
|
+
.leaflet-popup-content-wrapper,
|
408
423
|
.leaflet-popup-tip {
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
margin: -8px auto 0;
|
414
|
-
|
415
|
-
-webkit-transform: rotate(45deg);
|
416
|
-
-moz-transform: rotate(45deg);
|
417
|
-
-ms-transform: rotate(45deg);
|
418
|
-
-o-transform: rotate(45deg);
|
419
|
-
transform: rotate(45deg);
|
420
|
-
}
|
421
|
-
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
|
422
|
-
background: white;
|
423
|
-
|
424
|
-
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
425
|
-
}
|
424
|
+
background: white;
|
425
|
+
|
426
|
+
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
427
|
+
}
|
426
428
|
.leaflet-container a.leaflet-popup-close-button {
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
}
|
429
|
+
position: absolute;
|
430
|
+
top: 0;
|
431
|
+
right: 0;
|
432
|
+
padding: 4px 4px 0 0;
|
433
|
+
text-align: center;
|
434
|
+
width: 18px;
|
435
|
+
height: 14px;
|
436
|
+
font: 16px/14px Tahoma, Verdana, sans-serif;
|
437
|
+
color: #c3c3c3;
|
438
|
+
text-decoration: none;
|
439
|
+
font-weight: bold;
|
440
|
+
background: transparent;
|
441
|
+
}
|
440
442
|
.leaflet-container a.leaflet-popup-close-button:hover {
|
441
|
-
|
442
|
-
}
|
443
|
+
color: #999;
|
444
|
+
}
|
443
445
|
.leaflet-popup-scrolled {
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
}
|
448
|
-
|
449
|
-
|
450
|
-
|
446
|
+
overflow: auto;
|
447
|
+
border-bottom: 1px solid #ddd;
|
448
|
+
border-top: 1px solid #ddd;
|
449
|
+
}
|
450
|
+
|
451
|
+
.leaflet-oldie .leaflet-popup-content-wrapper {
|
452
|
+
zoom: 1;
|
453
|
+
}
|
454
|
+
.leaflet-oldie .leaflet-popup-tip {
|
455
|
+
width: 24px;
|
456
|
+
margin: 0 auto;
|
457
|
+
|
458
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
459
|
+
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
460
|
+
}
|
461
|
+
.leaflet-oldie .leaflet-popup-tip-container {
|
462
|
+
margin-top: -1px;
|
463
|
+
}
|
464
|
+
|
465
|
+
.leaflet-oldie .leaflet-control-zoom,
|
466
|
+
.leaflet-oldie .leaflet-control-layers,
|
467
|
+
.leaflet-oldie .leaflet-popup-content-wrapper,
|
468
|
+
.leaflet-oldie .leaflet-popup-tip {
|
469
|
+
border: 1px solid #999;
|
470
|
+
}
|
471
|
+
|
472
|
+
|
473
|
+
/* div icon */
|
451
474
|
|
452
475
|
.leaflet-div-icon {
|
453
|
-
|
454
|
-
|
455
|
-
}
|
456
|
-
.leaflet-editing-icon {
|
457
|
-
-webkit-border-radius: 2px;
|
458
|
-
border-radius: 2px;
|
459
|
-
}
|
476
|
+
background: #fff;
|
477
|
+
border: 1px solid #666;
|
478
|
+
}
|