Use CSS rule to separate attributions
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
.ol-attribution li {
|
||||
display: inline;
|
||||
}
|
||||
.ol-attribution li:not(:last-child):after {
|
||||
content: " ";
|
||||
}
|
||||
.ol-dragbox {
|
||||
position: absolute;
|
||||
border: 2px solid red;
|
||||
|
||||
@@ -138,7 +138,7 @@ ol.control.Attribution.prototype.createAttributionElementsForLayer_ =
|
||||
var attributionKey = goog.getUid(attribution);
|
||||
|
||||
var attributionElement = goog.dom.createElement(goog.dom.TagName.LI);
|
||||
attributionElement.innerHTML = attribution.getHtml() + ' ';
|
||||
attributionElement.innerHTML = attribution.getHtml();
|
||||
|
||||
if (!map.isDef ||
|
||||
!layerVisible ||
|
||||
|
||||
Reference in New Issue
Block a user