vendor/assets/stylesheets/leaflet.label.css in leaflet-js-0.6.beta4 vs vendor/assets/stylesheets/leaflet.label.css in leaflet-js-0.7.0
- old
+ new
@@ -19,15 +19,34 @@
user-select: none;
white-space: nowrap;
z-index: 6;
}
-.leaflet-label:before {
- border-right: 6px solid black;
- border-right-color: inherit;
+.leaflet-label.leaflet-clickable {
+ cursor: pointer;
+}
+
+.leaflet-label:before,
+.leaflet-label:after {
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
- content: "";
+ content: none;
position: absolute;
top: 5px;
+}
+
+.leaflet-label:before {
+ border-right: 6px solid black;
+ border-right-color: inherit;
left: -10px;
+}
+
+.leaflet-label:after {
+ border-left: 6px solid black;
+ border-left-color: inherit;
+ right: -10px;
+}
+
+.leaflet-label-right:before,
+.leaflet-label-left:after {
+ content: "";
}
\ No newline at end of file