Skip to content

Commit ac98a2a

Browse files
authored
Align blue colors with sprite, change alpinehut to use the new icon
1 parent 05236f4 commit ac98a2a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/java/il/org/osm/israelhiking/PlanetSearchProfile.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ private boolean processWaterwayFeature(SourceFeature feature, FeatureCollector f
318318
convertTagsToDocument(pointDocument, feature);
319319
pointDocument.poiCategory = "Water";
320320
pointDocument.poiIcon = "icon-river";
321-
pointDocument.poiIconColor = "blue";
321+
pointDocument.poiIconColor = "#1e80e3";
322322
pointDocument.poiSource = "OSM";
323323
var lngLatPoint = GeoUtils.worldToLatLonCoords(point).getCoordinate();
324324
pointDocument.location = new double[]{lngLatPoint.getX(), lngLatPoint.getY()};
@@ -668,7 +668,7 @@ private void setIconColorCategory(PointDocument pointDocument, WithTags feature)
668668
pointDocument.poiCategory = "Natural";
669669
return;
670670
case "spring":
671-
pointDocument.poiIconColor = "blue";
671+
pointDocument.poiIconColor = "#1e80e3";
672672
pointDocument.poiIcon = "icon-tint";
673673
pointDocument.poiCategory = "Water";
674674
return;
@@ -683,7 +683,7 @@ private void setIconColorCategory(PointDocument pointDocument, WithTags feature)
683683
pointDocument.poiCategory = "Natural";
684684
return;
685685
case "waterhole":
686-
pointDocument.poiIconColor = "blue";
686+
pointDocument.poiIconColor = "#1e80e3";
687687
pointDocument.poiIcon = "icon-waterhole";
688688
pointDocument.poiCategory = "Water";
689689
return;
@@ -694,14 +694,14 @@ private void setIconColorCategory(PointDocument pointDocument, WithTags feature)
694694
"pond".equals(feature.getString("water")) ||
695695
"lake".equals(feature.getString("water")) ||
696696
"stream_pool".equals(feature.getString("water"))) {
697-
pointDocument.poiIconColor = "blue";
697+
pointDocument.poiIconColor = "#1e80e3";
698698
pointDocument.poiIcon = "icon-tint";
699699
pointDocument.poiCategory = "Water";
700700
return;
701701
}
702702

703703
if (feature.getString("man_made") != null) {
704-
pointDocument.poiIconColor = "blue";
704+
pointDocument.poiIconColor = "#1e80e3";
705705
pointDocument.poiCategory = "Water";
706706
switch (feature.getString("man_made")) {
707707
case "water_well":
@@ -714,14 +714,14 @@ private void setIconColorCategory(PointDocument pointDocument, WithTags feature)
714714
}
715715

716716
if ("waterfall".equals(feature.getString("waterway"))) {
717-
pointDocument.poiIconColor = "blue";
717+
pointDocument.poiIconColor = "#1e80e3";
718718
pointDocument.poiIcon = "icon-waterfall";
719719
pointDocument.poiCategory = "Water";
720720
return;
721721
}
722722

723723
if ("waterway".equals(feature.getString("type"))) {
724-
pointDocument.poiIconColor = "blue";
724+
pointDocument.poiIconColor = "#1e80e3";
725725
pointDocument.poiIcon = "icon-river";
726726
pointDocument.poiCategory = "Water";
727727
return;
@@ -758,7 +758,7 @@ private void setIconColorCategory(PointDocument pointDocument, WithTags feature)
758758
return;
759759
case "alpine_hut":
760760
pointDocument.poiIconColor = "#734a08";
761-
pointDocument.poiIcon = "icon-home";
761+
pointDocument.poiIcon = "icon-alpinehut";
762762
pointDocument.poiCategory = "Camping";
763763
return;
764764
}

0 commit comments

Comments
 (0)