Skip to content

Commit

Permalink
Merge pull request #110 from urbancamo/develop
Browse files Browse the repository at this point in the history
  - enabled colour by band with some changes
  • Loading branch information
urbancamo authored Aug 30, 2024
2 parents c93ffee + f023e54 commit 94304a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>uk.m0nom</groupId>
<artifactId>adif-processor</artifactId>
<version>1.4.14</version>
<version>1.4.15</version>

<name>ADIF Processor</name>
<url>https://github.com/urbancamo/adif-processor</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ public CommsLinkResult createCommsLink(Document document, Folder folder, Map<Str
String lineStyleId = commsStyleMap.get(id);

if (control.isColourContactsByBand()) {
lineStyleId = bandLineStyles.getLineStyle(rec.getBand()).getName();
lineStyleId = KmlUtils.getStyleUrl(bandLineStyles.getLineStyle(rec.getBand()).getName());
}

Placemark placemark = folder.createAndAddPlacemark();
// use the style for each line type
placemark.withName(commsLinkName)
.withId(commsLinkId)
.withStyleUrl(KmlUtils.getStyleUrl(lineStyleId));
.withStyleUrl(lineStyleId);

LineString commsLine = placemark.createAndSetLineString();

Expand Down

0 comments on commit 94304a0

Please sign in to comment.