Skip to content

Commit

Permalink
Handle sources with . in name by replacing them with _
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Oct 31, 2024
1 parent 551e26e commit 9b7d424
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ public static synchronized void addSourcesToPaintStyle(DataSet ds) {
return;
}
List<String> sources = ds.allPrimitives().stream().map(MapPaintUtils::getSourceValue).filter(Objects::nonNull)
.map(s -> s.replace('.', '_'))
.distinct().collect(Collectors.toList());
if (!styleSource.isLoaded()) {
styleSource.loadStyleSource();
Expand Down

0 comments on commit 9b7d424

Please sign in to comment.