kopia lustrzana https://github.com/JOSM/MapWithAI
Handle sources with . in name by replacing them with _
Signed-off-by: Taylor Smock <tsmock@meta.com>pull/50/head
rodzic
551e26ef8e
commit
9b7d424f7b
|
@ -160,6 +160,7 @@ public final class MapPaintUtils {
|
|||
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();
|
||||
|
|
Ładowanie…
Reference in New Issue