We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abefa95 commit 1383606Copy full SHA for 1383606
pygeoapi/templates/collections/tiles/index.html
@@ -108,7 +108,7 @@ <h3>Tiles</h3>
108
maxZoom: {{ data['maxzoom'] }},
109
indexMaxZoom: 5,
110
getFeatureId: function(feat) {
111
- return feat.id || feat.properties.id || feat.properties.uri;
+ return feat.properties.id || feat.properties.fid || feat.properties.uri;
112
}
113
};
114
@@ -129,7 +129,7 @@ <h3>Tiles</h3>
129
.openOn(map);
130
131
clearHighlight();
132
- highlight = e.layer.id || e.layer.properties.id || e.layer.properties.uri;
+ highlight = e.layer.properties.id || e.layer.properties.fid || e.layer.properties.uri;
133
tilesPbfLayer.setFeatureStyle(highlight, {
134
weight: 2,
135
color: 'red',
0 commit comments