Interactive interface for browsing global, full-resolution satellite imagery
account for isLabel property becoming boolean
Benjamin King188c2ce42162
diff --git a/web/js/modules/vector-styles/util.js b/web/js/modules/vector-styles/util.jsindex fc1a3f1df..d21d84250 100644--- a/web/js/modules/vector-styles/util.js+++ b/web/js/modules/vector-styles/util.js@@ -217,7 +217,7 @@ export function onMapClickGetVectorFeatures(pixels, map, state, swipeOffset) {const data = config.vectorData[vectorDataId];const properties = data.mvt_properties;const uniqueIdentifierKey = lodashFind(properties, { Function: 'Identify' }).Identifier;- const titleObj = lodashFind(properties, { IsLabel: 'True' });+ const titleObj = lodashFind(properties, { IsLabel: true }) || lodashFind(properties, { IsLabel: 'True' });const titleKey = titleObj.Identifier;const uniqueIdentifier = features[uniqueIdentifierKey];