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) {
114
114
var chart = $ ( "<div class='chart'></div>" ) ;
115
115
var link = $ ( "<a class='chart-link' target='_blank' href='" + target + "#" + href + "'></a>" ) ;
116
116
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>' ) ;
118
118
var thumb = $ ( "<img class='chart-thumb' src='" + defaultThumb + "' data-original='" + thumbnail + "' style='display: inline'>" ) ;
119
+
120
+ chartTitle . appendTo ( link ) ;
119
121
if ( window . version === version ) {
120
- newTip . appendTo ( chartTitle ) ;
122
+ newTip . appendTo ( link ) ;
121
123
}
122
- chartTitle . appendTo ( link ) ;
123
124
thumb . appendTo ( link ) ;
124
125
link . appendTo ( chart ) ;
125
126
chart . appendTo ( chartDiv ) ;
Original file line number Diff line number Diff line change 27
27
var control = L . control ( { position : 'topright' } ) ;
28
28
control . onAdd = function ( ) {
29
29
var popup = L . DomUtil . create ( 'div' ) ;
30
- popup . style . width = '20% ' ;
30
+ popup . style . width = '350px ' ;
31
31
popup . innerHTML = "<div class='panel panel-default'>" +
32
32
"<div class='panel-body'>" +
33
33
"<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({
645
645
unique . style = layerInfo . style . pointStyle ;
646
646
if ( vectorType === "LINE" ) {
647
647
unique . style . fill = false ;
648
+ } else {
649
+ unique . style . fill = true ;
648
650
}
649
651
unique . style . stroke = true ;
650
652
unique . themeField = themeField ;
Original file line number Diff line number Diff line change @@ -621,6 +621,8 @@ export class WebMap extends ol.Observable {
621
621
unique . style = layerInfo . style . pointStyle ;
622
622
if ( vectorType === "LINE" ) {
623
623
unique . style . fill = false ;
624
+ } else {
625
+ unique . style . fill = true ;
624
626
}
625
627
unique . style . stroke = true ;
626
628
unique . themeField = themeField ;
You can’t perform that action at this time.
0 commit comments