Fix automatic UTF grid configuration when using raster tiles vis CartoVisLoader
@@ -634,7 +634,12 @@ namespace carto {
}
if (subLayerIndex < 0) {
+ if (layerConfig.contains("interactivity")) {
configureLayerInteractivity(*layer, layerConfig.get("interactivity"));
+ } else if (layerConfig.contains("options")) {
+ const picojson::value& layerOptions = layerConfig.get("options");
+ configureLayerInteractivity(*layer, layerOptions.get("interactivity"));
+ }
}
if (auto visible = getBool(layerConfig.get("visible"))) {
