Replace omaps.app links with comaps.app

Co-authored-by: zyphlar <zyphlar@noreply.codeberg.org>
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-05-26 17:10:34 +07:00
parent 536c11079d
commit ca1776ee9f
12 changed files with 93 additions and 93 deletions

View File

@@ -10,49 +10,49 @@ char const * kTextKml =
"<Style id=\"placemark-blue\">"
"<IconStyle>"
"<Icon>"
"<href>https://omaps.app/placemarks/placemark-blue.png</href>"
"<href>https://comaps.app/placemarks/placemark-blue.png</href>"
"</Icon>"
"</IconStyle>"
"</Style>"
"<Style id=\"placemark-brown\">"
"<IconStyle>"
"<Icon>"
"<href>https://omaps.app/placemarks/placemark-brown.png</href>"
"<href>https://comaps.app/placemarks/placemark-brown.png</href>"
"</Icon>"
"</IconStyle>"
"</Style>"
"<Style id=\"placemark-green\">"
"<IconStyle>"
"<Icon>"
"<href>https://omaps.app/placemarks/placemark-green.png</href>"
"<href>https://comaps.app/placemarks/placemark-green.png</href>"
"</Icon>"
"</IconStyle>"
"</Style>"
"<Style id=\"placemark-orange\">"
"<IconStyle>"
"<Icon>"
"<href>https://omaps.app/placemarks/placemark-orange.png</href>"
"<href>https://comaps.app/placemarks/placemark-orange.png</href>"
"</Icon>"
"</IconStyle>"
"</Style>"
"<Style id=\"placemark-pink\">"
"<IconStyle>"
"<Icon>"
"<href>https://omaps.app/placemarks/placemark-pink.png</href>"
"<href>https://comaps.app/placemarks/placemark-pink.png</href>"
"</Icon>"
"</IconStyle>"
"</Style>"
"<Style id=\"placemark-purple\">"
"<IconStyle>"
"<Icon>"
"<href>https://omaps.app/placemarks/placemark-purple.png</href>"
"<href>https://comaps.app/placemarks/placemark-purple.png</href>"
"</Icon>"
"</IconStyle>"
"</Style>"
"<Style id=\"placemark-red\">"
"<IconStyle>"
"<Icon>"
"<href>https://omaps.app/placemarks/placemark-red.png</href>"
"<href>https://comaps.app/placemarks/placemark-red.png</href>"
"</Icon>"
"</IconStyle>"
"</Style>"

View File

@@ -52,7 +52,7 @@ std::string_view constexpr kKmlFooter =
"</kml>\n";
std::string_view constexpr kExtendedDataHeader =
"<ExtendedData xmlns:mwm=\"https://omaps.app\">\n";
"<ExtendedData xmlns:mwm=\"https://comaps.app\">\n";
std::string_view constexpr kExtendedDataFooter =
"</ExtendedData>\n";
@@ -145,7 +145,7 @@ void SaveStyle(Writer & writer, std::string const & style,
writer << indent << kIndent2 << "<Style id=\"" << style << "\">\n"
<< indent << kIndent4 << "<IconStyle>\n"
<< indent << kIndent6 << "<Icon>\n"
<< indent << kIndent8 << "<href>https://omaps.app/placemarks/" << style << ".png</href>\n"
<< indent << kIndent8 << "<href>https://comaps.app/placemarks/" << style << ".png</href>\n"
<< indent << kIndent6 << "</Icon>\n"
<< indent << kIndent4 << "</IconStyle>\n"
<< indent << kIndent2 << "</Style>\n";