mirror of
https://github.com/maptiler/tileserver-gl.git
synced 2024-09-19 07:48:20 +03:00
Show layer name in data viewer (close #83)
This commit is contained in:
parent
c1de2a7903
commit
dfb07b8286
@ -122,7 +122,9 @@
|
||||
if (features) {
|
||||
var html = '';
|
||||
features.forEach(function(feature) {
|
||||
html += JSON.stringify(feature.properties, null, 2) + '\n';
|
||||
html +=
|
||||
'[Layer: ' + feature.layer['source-layer'] + ']\n' +
|
||||
JSON.stringify(feature.properties, null, 2) + '\n\n';
|
||||
});
|
||||
propertyList.innerHTML = html;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user