Skip to content

Commit

Permalink
Use style options for highlights as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephbirkner committed Sep 18, 2024
1 parent 586bf05 commit aa4692d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions erdblick_app/app/map.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -787,16 +787,18 @@ export class MapService {
// Apply highlight styles.
const featureTile = featureWrappers[0].featureTile;
const featureIds = featureWrappers.map(fw => fw.featureId);
for (let [_, styleData] of this.styleService.styles) {
if (styleData.featureLayerStyle && styleData.params.visible) {
for (let [_, style] of this.styleService.styles) {
if (style.featureLayerStyle && style.params.visible) {
let visu = new TileVisualization(
featureTile,
this.pointMergeService,
(tileKey: string)=>this.getFeatureTile(tileKey),
styleData.featureLayerStyle,
style.featureLayerStyle,
true,
mode,
featureIds);
featureIds,
false,
style.params.options);
this.tileVisualizationTopic.next(visu);
visualizationCollection.push(visu);
}
Expand Down

0 comments on commit aa4692d

Please sign in to comment.