File tree Expand file tree Collapse file tree 8 files changed +48
-27
lines changed Expand file tree Collapse file tree 8 files changed +48
-27
lines changed Original file line number Diff line number Diff line change 182
182
infopanel . onAdd = function ( map ) {
183
183
var div = L . DomUtil . create ( 'div' , 'info' ) ;
184
184
div . innerHTML +=
185
- '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center;">' +
185
+ '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center; row-gap: 8px ">' +
186
186
'<div style="font-weight: bold; margin-bottom: 5px;">' +
187
187
'Leaflet-dataclassification plugin demo page: "combined"' +
188
188
'</div>' +
189
- '<div style="justify-content: center; ">' +
189
+ '<div style="text-align: justify ">' +
190
190
'This is an example page showcasing some of the features of Leaflet plugin <i>leaflet-dataclassification</i> for three layers simultaneously. ' +
191
191
'Feature tooltips on hover (native feature of Leaflet) were added to provide an easy check of attribute values used. ' +
192
192
'<br><i>Note: population density for North Dakota has been manually removed to showcase handling of Null data (nodata) in feature attributes.</i>' +
193
193
'<br><br>' +
194
+ '</div>' +
195
+ '<div>' +
194
196
'Single-step data classification, symbology and legend creation for GeoJSON data powered thematic maps.' +
195
197
'<br><br>' +
196
- 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>'
198
+ 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>' +
197
199
'</div>' +
200
+ '<a href="https://github.com/balladaniel/leaflet-dataclassification" target="_blank"><img src="banner.png" style="max-width: 100%;"></img></a>' +
198
201
'</div>' ;
199
202
return div ;
200
203
}
Original file line number Diff line number Diff line change 102
102
infopanel . onAdd = function ( map ) {
103
103
var div = L . DomUtil . create ( 'div' , 'info' ) ;
104
104
div . innerHTML +=
105
- '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center;">' +
106
- '<div style="font-weight: bold; margin-bottom: 5px; ">' +
105
+ '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center; row-gap: 8px ">' +
106
+ '<div style="font-weight: bold;">' +
107
107
'Leaflet-dataclassification plugin demo page: "lines_color"' +
108
108
'</div>' +
109
- '<div style="justify-content: center; ">' +
109
+ '<div style="text-align: justify ">' +
110
110
'This is an example page showcasing some of the features of Leaflet plugin <i>leaflet-dataclassification</i>. ' +
111
111
'Feature tooltips on hover (native feature of Leaflet) were added to provide an easy check of attribute values used. ' +
112
112
'<br><br>' +
113
+ '</div>' +
114
+ '<div>' +
113
115
'Single-step data classification, symbology and legend creation for GeoJSON data powered thematic maps.' +
114
116
'<br><br>' +
115
- 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>'
117
+ 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>' +
116
118
'</div>' +
119
+ '<a href="https://github.com/balladaniel/leaflet-dataclassification"><img src="banner.png" style="max-width: 100%;"></img></a>' +
117
120
'</div>' ;
118
121
return div ;
119
122
}
Original file line number Diff line number Diff line change 130
130
infopanel . onAdd = function ( map ) {
131
131
var div = L . DomUtil . create ( 'div' , 'info' ) ;
132
132
div . innerHTML +=
133
- '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center;">' +
134
- '<div style="font-weight: bold; margin-bottom: 5px; ">' +
133
+ '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center; row-gap: 8px ">' +
134
+ '<div style="font-weight: bold">' +
135
135
'Leaflet-dataclassification plugin demo page: "lines_width"' +
136
136
'</div>' +
137
- '<div style="justify-content: center; ">' +
137
+ '<div style="text-align: justify ">' +
138
138
'This is an example page showcasing some of the features of Leaflet plugin <i>leaflet-dataclassification</i>. ' +
139
139
'Feature tooltips on hover and feature highlighting (native features of Leaflet) were added to provide an easy check of attribute values used. ' +
140
140
'<br><br>' +
141
+ '</div>' +
142
+ '<div>' +
141
143
'Single-step data classification, symbology and legend creation for GeoJSON data powered thematic maps.' +
142
144
'<br><br>' +
143
- 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>'
145
+ 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>' +
144
146
'</div>' +
147
+ '<a href="https://github.com/balladaniel/leaflet-dataclassification"><img src="banner.png" style="max-width: 100%;"></img></a>' +
145
148
'</div>' ;
146
149
return div ;
147
150
}
Original file line number Diff line number Diff line change 100
100
infopanel . onAdd = function ( map ) {
101
101
var div = L . DomUtil . create ( 'div' , 'info' ) ;
102
102
div . innerHTML +=
103
- '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center;">' +
104
- '<div style="font-weight: bold; margin-bottom: 5px; ">' +
103
+ '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center; row-gap: 8px ">' +
104
+ '<div style="font-weight: bold;">' +
105
105
'Leaflet-dataclassification plugin demo page: "points_color"' +
106
106
'</div>' +
107
- '<div style="justify-content: center; ">' +
107
+ '<div style="text-align: justify ">' +
108
108
'This is an example page showcasing some of the features of Leaflet plugin <i>leaflet-dataclassification</i>. ' +
109
109
'Feature tooltips on hover (native feature of Leaflet) were added to provide an easy check of attribute values used. ' +
110
110
'<br><br>' +
111
+ '</div>' +
112
+ '<div>' +
111
113
'Single-step data classification, symbology and legend creation for GeoJSON data powered thematic maps.' +
112
114
'<br><br>' +
113
- 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>'
115
+ 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>' +
114
116
'</div>' +
117
+ '<a href="https://github.com/balladaniel/leaflet-dataclassification"><img src="banner.png" style="max-width: 100%;"></img></a>' +
115
118
'</div>' ;
116
119
return div ;
117
120
}
Original file line number Diff line number Diff line change 104
104
infopanel . onAdd = function ( map ) {
105
105
var div = L . DomUtil . create ( 'div' , 'info' ) ;
106
106
div . innerHTML +=
107
- '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center;">' +
108
- '<div style="font-weight: bold; margin-bottom: 5px; ">' +
107
+ '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center; row-gap: 8px; ">' +
108
+ '<div style="font-weight: bold;">' +
109
109
'Leaflet-dataclassification plugin demo page: "points_size"' +
110
110
'</div>' +
111
- '<div style="justify-content: center; ">' +
111
+ '<div style="text-align: justify ">' +
112
112
'This is an example page showcasing some of the features of Leaflet plugin <i>leaflet-dataclassification</i>. ' +
113
113
'Feature tooltips on hover (native feature of Leaflet) were added to provide an easy check of attribute values used. ' +
114
114
'<br><br>' +
115
+ '</div>' +
116
+ '<div style="text-align: center">' +
115
117
'Single-step data classification, symbology and legend creation for GeoJSON data powered thematic maps.' +
116
118
'<br><br>' +
117
- 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>'
119
+ 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>' +
118
120
'</div>' +
121
+ '<a href="https://github.com/balladaniel/leaflet-dataclassification"><img src="banner.png" style="max-width: 100%;"></img></a>' +
119
122
'</div>' ;
120
123
return div ;
121
124
}
Original file line number Diff line number Diff line change 111
111
infopanel . onAdd = function ( map ) {
112
112
var div = L . DomUtil . create ( 'div' , 'info' ) ;
113
113
div . innerHTML +=
114
- '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center;">' +
115
- '<div style="font-weight: bold; margin-bottom: 5px; ">' +
114
+ '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center; row-gap: 8px" ">' +
115
+ '<div style="font-weight: bold;">' +
116
116
'Leaflet-dataclassification plugin demo page: "polygons_color"' +
117
117
'</div>' +
118
- '<div style="justify-content: center; ">' +
118
+ '<div style="text-align: justify ">' +
119
119
'This is an example page showcasing some of the features of Leaflet plugin <i>leaflet-dataclassification</i>. ' +
120
120
'The attribute values are normalized on-the-go by an other field, based on which the classification is done. ' +
121
121
'Feature tooltips on hover (native feature of Leaflet) were added to provide an easy check of both source and normalized values. ' +
122
122
'<br><br>' +
123
+ '</div>' +
124
+ '<div>' +
123
125
'Single-step data classification, symbology and legend creation for GeoJSON data powered thematic maps.' +
124
126
'<br><br>' +
125
- 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>'
127
+ 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>' +
126
128
'</div>' +
129
+ '<a href="https://github.com/balladaniel/leaflet-dataclassification"><img src="banner.png" style="max-width: 100%;"></img></a>' +
127
130
'</div>' ;
128
131
return div ;
129
132
}
Original file line number Diff line number Diff line change 124
124
infopanel . onAdd = function ( map ) {
125
125
var div = L . DomUtil . create ( 'div' , 'info' ) ;
126
126
div . innerHTML +=
127
- '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center;">' +
128
- '<div style="font-weight: bold; margin-bottom: 5px; ">' +
127
+ '<div style="display: flex; flex-direction: column; max-width: 500px; text-align: center; row-gap: 8px ">' +
128
+ '<div style="font-weight: bold;">' +
129
129
'Leaflet-dataclassification plugin demo page: "polygons_hatch"' +
130
130
'</div>' +
131
- '<div style="justify-content: center; ">' +
131
+ '<div style="text-align: justify ">' +
132
132
'This is an example page showcasing some of the features of Leaflet plugin <i>leaflet-dataclassification</i>. ' +
133
133
'Feature tooltips on hover (native feature of Leaflet) were added to provide an easy check of attribute values used. ' +
134
134
'<br><br>' +
135
+ '</div>' +
136
+ '<div>' +
135
137
'Single-step data classification, symbology and legend creation for GeoJSON data powered thematic maps.' +
136
138
'<br><br>' +
137
- 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>'
139
+ 'Project page: <a href="https://github.com/balladaniel/leaflet-dataclassification">https://github.com/balladaniel/leaflet-dataclassification</a>' +
138
140
'</div>' +
141
+ '<a href="https://github.com/balladaniel/leaflet-dataclassification"><img src="banner.png" style="max-width: 100%;"></img></a>' +
139
142
'</div>' ;
140
143
return div ;
141
144
}
You can’t perform that action at this time.
0 commit comments