mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
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:
@@ -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>"
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user