File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed
Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -114,12 +114,13 @@ function createGalleryChart(example) {
114114 var chart = $ ( "<div class='chart'></div>" ) ;
115115 var link = $ ( "<a class='chart-link' target='_blank' href='" + target + "#" + href + "'></a>" ) ;
116116 var chartTitle = $ ( "<h5 class='chart-title'>" + title + "</h5>" ) ;
117- var newTip = $ ( '<svg class="new-example" style="float: right; width:8px !important;height:8px;"><circle cx="4" cy="4" r="4" fill="#C70022"></circle></svg>' ) ;
117+ var newTip = $ ( '<svg xmlns="http://www.w3.org/2000/svg" class="new-example" style="width:8px !important;height:8px;right: 1px;top: 1px;position: absolute ;"><circle cx="4" cy="4" r="4" fill="#C70022"></circle></svg>' ) ;
118118 var thumb = $ ( "<img class='chart-thumb' src='" + defaultThumb + "' data-original='" + thumbnail + "' style='display: inline'>" ) ;
119+
120+ chartTitle . appendTo ( link ) ;
119121 if ( window . version === version ) {
120- newTip . appendTo ( chartTitle ) ;
122+ newTip . appendTo ( link ) ;
121123 }
122- chartTitle . appendTo ( link ) ;
123124 thumb . appendTo ( link ) ;
124125 link . appendTo ( chart ) ;
125126 chart . appendTo ( chartDiv ) ;
Original file line number Diff line number Diff line change 2727 var control = L . control ( { position : 'topright' } ) ;
2828 control . onAdd = function ( ) {
2929 var popup = L . DomUtil . create ( 'div' ) ;
30- popup . style . width = '20% ' ;
30+ popup . style . width = '350px ' ;
3131 popup . innerHTML = "<div class='panel panel-default'>" +
3232 "<div class='panel-body'>" +
3333 "<ul class='nav nav-tabs nav-justified'>" +
Original file line number Diff line number Diff line change @@ -645,6 +645,8 @@ export var WebMap = L.LayerGroup.extend({
645645 unique . style = layerInfo . style . pointStyle ;
646646 if ( vectorType === "LINE" ) {
647647 unique . style . fill = false ;
648+ } else {
649+ unique . style . fill = true ;
648650 }
649651 unique . style . stroke = true ;
650652 unique . themeField = themeField ;
Original file line number Diff line number Diff line change @@ -621,6 +621,8 @@ export class WebMap extends ol.Observable {
621621 unique . style = layerInfo . style . pointStyle ;
622622 if ( vectorType === "LINE" ) {
623623 unique . style . fill = false ;
624+ } else {
625+ unique . style . fill = true ;
624626 }
625627 unique . style . stroke = true ;
626628 unique . themeField = themeField ;
You can’t perform that action at this time.
0 commit comments