mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03: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:
@@ -11,7 +11,7 @@ namespace url
|
|||||||
{
|
{
|
||||||
|
|
||||||
// Url in format: 'scheme://host/path?key1=value1&key2&key3=&key4=value4'
|
// Url in format: 'scheme://host/path?key1=value1&key2&key3=&key4=value4'
|
||||||
// host - any string ('omaps.app' or 'search'), without any valid domain check
|
// host - any string ('comaps.app' or 'search'), without any valid domain check
|
||||||
class Url
|
class Url
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -4,119 +4,119 @@
|
|||||||
<Style id="placemark-red">
|
<Style id="placemark-red">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-red.png</href>
|
<href>https://comaps.app/placemarks/placemark-red.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-blue">
|
<Style id="placemark-blue">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-blue.png</href>
|
<href>https://comaps.app/placemarks/placemark-blue.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-purple">
|
<Style id="placemark-purple">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-purple.png</href>
|
<href>https://comaps.app/placemarks/placemark-purple.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-yellow">
|
<Style id="placemark-yellow">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-yellow.png</href>
|
<href>https://comaps.app/placemarks/placemark-yellow.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-pink">
|
<Style id="placemark-pink">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-pink.png</href>
|
<href>https://comaps.app/placemarks/placemark-pink.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-brown">
|
<Style id="placemark-brown">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-brown.png</href>
|
<href>https://comaps.app/placemarks/placemark-brown.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-green">
|
<Style id="placemark-green">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-green.png</href>
|
<href>https://comaps.app/placemarks/placemark-green.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-orange">
|
<Style id="placemark-orange">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-orange.png</href>
|
<href>https://comaps.app/placemarks/placemark-orange.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-deeppurple">
|
<Style id="placemark-deeppurple">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-deeppurple.png</href>
|
<href>https://comaps.app/placemarks/placemark-deeppurple.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-lightblue">
|
<Style id="placemark-lightblue">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-lightblue.png</href>
|
<href>https://comaps.app/placemarks/placemark-lightblue.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-cyan">
|
<Style id="placemark-cyan">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-cyan.png</href>
|
<href>https://comaps.app/placemarks/placemark-cyan.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-teal">
|
<Style id="placemark-teal">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-teal.png</href>
|
<href>https://comaps.app/placemarks/placemark-teal.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-lime">
|
<Style id="placemark-lime">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-lime.png</href>
|
<href>https://comaps.app/placemarks/placemark-lime.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-deeporange">
|
<Style id="placemark-deeporange">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-deeporange.png</href>
|
<href>https://comaps.app/placemarks/placemark-deeporange.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-gray">
|
<Style id="placemark-gray">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-gray.png</href>
|
<href>https://comaps.app/placemarks/placemark-gray.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-bluegray">
|
<Style id="placemark-bluegray">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-bluegray.png</href>
|
<href>https://comaps.app/placemarks/placemark-bluegray.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<name>Test category</name>
|
<name>Test category</name>
|
||||||
<description>Test description</description>
|
<description>Test description</description>
|
||||||
<visibility>1</visibility>
|
<visibility>1</visibility>
|
||||||
<ExtendedData xmlns:mwm="https://omaps.app">
|
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||||
<mwm:serverId>AAAA-BBBB-CCCC-DDDD</mwm:serverId>
|
<mwm:serverId>AAAA-BBBB-CCCC-DDDD</mwm:serverId>
|
||||||
<mwm:name>
|
<mwm:name>
|
||||||
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
||||||
@@ -237,7 +237,7 @@
|
|||||||
<TimeStamp><when>1970-01-01T00:13:20Z</when></TimeStamp>
|
<TimeStamp><when>1970-01-01T00:13:20Z</when></TimeStamp>
|
||||||
<styleUrl>#placemark-blue</styleUrl>
|
<styleUrl>#placemark-blue</styleUrl>
|
||||||
<Point><coordinates>45.9242,49.326859</coordinates></Point>
|
<Point><coordinates>45.9242,49.326859</coordinates></Point>
|
||||||
<ExtendedData xmlns:mwm="https://omaps.app">
|
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||||
<mwm:name>
|
<mwm:name>
|
||||||
<mwm:lang code="ru">Тестовая метка</mwm:lang>
|
<mwm:lang code="ru">Тестовая метка</mwm:lang>
|
||||||
<mwm:lang code="default">Test bookmark</mwm:lang>
|
<mwm:lang code="default">Test bookmark</mwm:lang>
|
||||||
@@ -278,7 +278,7 @@
|
|||||||
</LineStyle></Style>
|
</LineStyle></Style>
|
||||||
<TimeStamp><when>1970-01-01T00:15:00Z</when></TimeStamp>
|
<TimeStamp><when>1970-01-01T00:15:00Z</when></TimeStamp>
|
||||||
<LineString><coordinates>45.9242,49.326859,1 45.2244,48.941288,2 45.1964,49.401948,3</coordinates></LineString>
|
<LineString><coordinates>45.9242,49.326859,1 45.2244,48.941288,2 45.1964,49.401948,3</coordinates></LineString>
|
||||||
<ExtendedData xmlns:mwm="https://omaps.app">
|
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||||
<mwm:name>
|
<mwm:name>
|
||||||
<mwm:lang code="ru">Тестовый трек</mwm:lang>
|
<mwm:lang code="ru">Тестовый трек</mwm:lang>
|
||||||
<mwm:lang code="default">Test track</mwm:lang>
|
<mwm:lang code="default">Test track</mwm:lang>
|
||||||
|
|||||||
@@ -4,119 +4,119 @@
|
|||||||
<Style id="placemark-red">
|
<Style id="placemark-red">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-red.png</href>
|
<href>https://comaps.app/placemarks/placemark-red.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-blue">
|
<Style id="placemark-blue">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-blue.png</href>
|
<href>https://comaps.app/placemarks/placemark-blue.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-purple">
|
<Style id="placemark-purple">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-purple.png</href>
|
<href>https://comaps.app/placemarks/placemark-purple.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-yellow">
|
<Style id="placemark-yellow">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-yellow.png</href>
|
<href>https://comaps.app/placemarks/placemark-yellow.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-pink">
|
<Style id="placemark-pink">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-pink.png</href>
|
<href>https://comaps.app/placemarks/placemark-pink.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-brown">
|
<Style id="placemark-brown">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-brown.png</href>
|
<href>https://comaps.app/placemarks/placemark-brown.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-green">
|
<Style id="placemark-green">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-green.png</href>
|
<href>https://comaps.app/placemarks/placemark-green.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-orange">
|
<Style id="placemark-orange">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-orange.png</href>
|
<href>https://comaps.app/placemarks/placemark-orange.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-deeppurple">
|
<Style id="placemark-deeppurple">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-deeppurple.png</href>
|
<href>https://comaps.app/placemarks/placemark-deeppurple.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-lightblue">
|
<Style id="placemark-lightblue">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-lightblue.png</href>
|
<href>https://comaps.app/placemarks/placemark-lightblue.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-cyan">
|
<Style id="placemark-cyan">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-cyan.png</href>
|
<href>https://comaps.app/placemarks/placemark-cyan.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-teal">
|
<Style id="placemark-teal">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-teal.png</href>
|
<href>https://comaps.app/placemarks/placemark-teal.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-lime">
|
<Style id="placemark-lime">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-lime.png</href>
|
<href>https://comaps.app/placemarks/placemark-lime.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-deeporange">
|
<Style id="placemark-deeporange">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-deeporange.png</href>
|
<href>https://comaps.app/placemarks/placemark-deeporange.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-gray">
|
<Style id="placemark-gray">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-gray.png</href>
|
<href>https://comaps.app/placemarks/placemark-gray.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-bluegray">
|
<Style id="placemark-bluegray">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-bluegray.png</href>
|
<href>https://comaps.app/placemarks/placemark-bluegray.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<name>Test category</name>
|
<name>Test category</name>
|
||||||
<description>Test description</description>
|
<description>Test description</description>
|
||||||
<visibility>1</visibility>
|
<visibility>1</visibility>
|
||||||
<ExtendedData xmlns:mwm="https://omaps.app">
|
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||||
<mwm:serverId>AAAA-BBBB-CCCC-DDDD</mwm:serverId>
|
<mwm:serverId>AAAA-BBBB-CCCC-DDDD</mwm:serverId>
|
||||||
<mwm:name>
|
<mwm:name>
|
||||||
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
||||||
@@ -237,7 +237,7 @@
|
|||||||
<TimeStamp><when>1970-01-01T00:13:20Z</when></TimeStamp>
|
<TimeStamp><when>1970-01-01T00:13:20Z</when></TimeStamp>
|
||||||
<styleUrl>#placemark-blue</styleUrl>
|
<styleUrl>#placemark-blue</styleUrl>
|
||||||
<Point><coordinates>45.9242,49.326859</coordinates></Point>
|
<Point><coordinates>45.9242,49.326859</coordinates></Point>
|
||||||
<ExtendedData xmlns:mwm="https://omaps.app">
|
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||||
<mwm:name>
|
<mwm:name>
|
||||||
<mwm:lang code="ru">Тестовая метка</mwm:lang>
|
<mwm:lang code="ru">Тестовая метка</mwm:lang>
|
||||||
<mwm:lang code="default">Test bookmark</mwm:lang>
|
<mwm:lang code="default">Test bookmark</mwm:lang>
|
||||||
@@ -294,7 +294,7 @@
|
|||||||
<gx:coord>45.2244 48.941288 2</gx:coord>
|
<gx:coord>45.2244 48.941288 2</gx:coord>
|
||||||
</gx:Track>
|
</gx:Track>
|
||||||
</gx:MultiTrack>
|
</gx:MultiTrack>
|
||||||
<ExtendedData xmlns:mwm="https://omaps.app">
|
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||||
<mwm:name>
|
<mwm:name>
|
||||||
<mwm:lang code="ru">Тестовый трек</mwm:lang>
|
<mwm:lang code="ru">Тестовый трек</mwm:lang>
|
||||||
<mwm:lang code="default">Test track</mwm:lang>
|
<mwm:lang code="default">Test track</mwm:lang>
|
||||||
|
|||||||
@@ -4,119 +4,119 @@
|
|||||||
<Style id="placemark-red">
|
<Style id="placemark-red">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-red.png</href>
|
<href>https://comaps.app/placemarks/placemark-red.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-blue">
|
<Style id="placemark-blue">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-blue.png</href>
|
<href>https://comaps.app/placemarks/placemark-blue.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-purple">
|
<Style id="placemark-purple">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-purple.png</href>
|
<href>https://comaps.app/placemarks/placemark-purple.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-yellow">
|
<Style id="placemark-yellow">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-yellow.png</href>
|
<href>https://comaps.app/placemarks/placemark-yellow.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-pink">
|
<Style id="placemark-pink">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-pink.png</href>
|
<href>https://comaps.app/placemarks/placemark-pink.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-brown">
|
<Style id="placemark-brown">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-brown.png</href>
|
<href>https://comaps.app/placemarks/placemark-brown.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-green">
|
<Style id="placemark-green">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-green.png</href>
|
<href>https://comaps.app/placemarks/placemark-green.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-orange">
|
<Style id="placemark-orange">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-orange.png</href>
|
<href>https://comaps.app/placemarks/placemark-orange.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-deeppurple">
|
<Style id="placemark-deeppurple">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-deeppurple.png</href>
|
<href>https://comaps.app/placemarks/placemark-deeppurple.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-lightblue">
|
<Style id="placemark-lightblue">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-lightblue.png</href>
|
<href>https://comaps.app/placemarks/placemark-lightblue.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-cyan">
|
<Style id="placemark-cyan">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-cyan.png</href>
|
<href>https://comaps.app/placemarks/placemark-cyan.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-teal">
|
<Style id="placemark-teal">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-teal.png</href>
|
<href>https://comaps.app/placemarks/placemark-teal.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-lime">
|
<Style id="placemark-lime">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-lime.png</href>
|
<href>https://comaps.app/placemarks/placemark-lime.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-deeporange">
|
<Style id="placemark-deeporange">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-deeporange.png</href>
|
<href>https://comaps.app/placemarks/placemark-deeporange.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-gray">
|
<Style id="placemark-gray">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-gray.png</href>
|
<href>https://comaps.app/placemarks/placemark-gray.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<Style id="placemark-bluegray">
|
<Style id="placemark-bluegray">
|
||||||
<IconStyle>
|
<IconStyle>
|
||||||
<Icon>
|
<Icon>
|
||||||
<href>https://omaps.app/placemarks/placemark-bluegray.png</href>
|
<href>https://comaps.app/placemarks/placemark-bluegray.png</href>
|
||||||
</Icon>
|
</Icon>
|
||||||
</IconStyle>
|
</IconStyle>
|
||||||
</Style>
|
</Style>
|
||||||
<name>Test category</name>
|
<name>Test category</name>
|
||||||
<description>Test description</description>
|
<description>Test description</description>
|
||||||
<visibility>1</visibility>
|
<visibility>1</visibility>
|
||||||
<ExtendedData xmlns:mwm="https://omaps.app">
|
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||||
<mwm:serverId>AAAA-BBBB-CCCC-DDDD</mwm:serverId>
|
<mwm:serverId>AAAA-BBBB-CCCC-DDDD</mwm:serverId>
|
||||||
<mwm:name>
|
<mwm:name>
|
||||||
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
<mwm:lang code="ru">Тестовая категория</mwm:lang>
|
||||||
@@ -237,7 +237,7 @@
|
|||||||
<TimeStamp><when>1970-01-01T00:13:20Z</when></TimeStamp>
|
<TimeStamp><when>1970-01-01T00:13:20Z</when></TimeStamp>
|
||||||
<styleUrl>#placemark-blue</styleUrl>
|
<styleUrl>#placemark-blue</styleUrl>
|
||||||
<Point><coordinates>45.9242,49.326859</coordinates></Point>
|
<Point><coordinates>45.9242,49.326859</coordinates></Point>
|
||||||
<ExtendedData xmlns:mwm="https://omaps.app">
|
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||||
<mwm:name>
|
<mwm:name>
|
||||||
<mwm:lang code="ru">Тестовая метка</mwm:lang>
|
<mwm:lang code="ru">Тестовая метка</mwm:lang>
|
||||||
<mwm:lang code="default">Test bookmark</mwm:lang>
|
<mwm:lang code="default">Test bookmark</mwm:lang>
|
||||||
@@ -311,7 +311,7 @@
|
|||||||
<when>1970-01-01T00:00:02Z</when>
|
<when>1970-01-01T00:00:02Z</when>
|
||||||
</gx:Track>
|
</gx:Track>
|
||||||
</gx:MultiTrack>
|
</gx:MultiTrack>
|
||||||
<ExtendedData xmlns:mwm="https://omaps.app">
|
<ExtendedData xmlns:mwm="https://comaps.app">
|
||||||
<mwm:name>
|
<mwm:name>
|
||||||
<mwm:lang code="ru">Тестовый трек</mwm:lang>
|
<mwm:lang code="ru">Тестовый трек</mwm:lang>
|
||||||
<mwm:lang code="default">Test track</mwm:lang>
|
<mwm:lang code="default">Test track</mwm:lang>
|
||||||
|
|||||||
@@ -302,14 +302,14 @@ UNIT_TEST(Bad_Base64)
|
|||||||
|
|
||||||
UNIT_TEST(OtherPrefixes)
|
UNIT_TEST(OtherPrefixes)
|
||||||
{
|
{
|
||||||
TestSuccess("http://omaps.app/Byqqqqqqqq/Name", 45, 0, 4.25, "Name");
|
TestSuccess("http://comaps.app/Byqqqqqqqq/Name", 45, 0, 4.25, "Name");
|
||||||
TestSuccess("https://omaps.app/Byqqqqqqqq/Name", 45, 0, 4.25, "Name");
|
TestSuccess("https://comaps.app/Byqqqqqqqq/Name", 45, 0, 4.25, "Name");
|
||||||
TestFailure("http://omapz.app/Byqqqqqqqq/Name");
|
TestFailure("http://comapz.app/Byqqqqqqqq/Name");
|
||||||
TestSuccess("http://omaps.app/AwAAAAAAAA/Super%5fPoi", 0, 0, 4, "Super Poi");
|
TestSuccess("http://comaps.app/AwAAAAAAAA/Super%5fPoi", 0, 0, 4, "Super Poi");
|
||||||
TestSuccess("https://omaps.app/AwAAAAAAAA/Super%5fPoi", 0, 0, 4, "Super Poi");
|
TestSuccess("https://comaps.app/AwAAAAAAAA/Super%5fPoi", 0, 0, 4, "Super Poi");
|
||||||
TestFailure("https://omapz.app/AwAAAAAAAA/Super%5fPoi");
|
TestFailure("https://comapz.app/AwAAAAAAAA/Super%5fPoi");
|
||||||
|
|
||||||
TestSuccess("https://omaps.app/Byqqqqqqqq", 45, 0, 4.25, "");
|
TestSuccess("https://comaps.app/Byqqqqqqqq", 45, 0, 4.25, "");
|
||||||
TestFailure("https://omaps.app/Byqqqqqqq");
|
TestFailure("https://comaps.app/Byqqqqqqq");
|
||||||
}
|
}
|
||||||
} // namespace ge0
|
} // namespace ge0
|
||||||
|
|||||||
@@ -18,16 +18,16 @@
|
|||||||
[activityType isEqualToString:@"com.facebook.Facebook.ShareExtension"] ||
|
[activityType isEqualToString:@"com.facebook.Facebook.ShareExtension"] ||
|
||||||
[activityType.lowercaseString rangeOfString:@"facebook"].length)
|
[activityType.lowercaseString rangeOfString:@"facebook"].length)
|
||||||
{
|
{
|
||||||
NSString * url = [NSString stringWithFormat:@"https://omaps.app/fb-editor-v1?lang=%@",
|
NSString * url = [NSString stringWithFormat:@"https://comaps.app/fb-editor-v1?lang=%@",
|
||||||
@(languages::GetCurrentNorm().c_str())];
|
@(languages::GetCurrentNorm().c_str())];
|
||||||
return [NSURL URLWithString:url];
|
return [NSURL URLWithString:url];
|
||||||
}
|
}
|
||||||
|
|
||||||
NSString * omapsURL = @"https://omaps.app/get";
|
NSString * comapsURL = @"https://comaps.app/get";
|
||||||
if ([activityType isEqualToString:UIActivityTypePostToTwitter] || [activityType isEqualToString:UIActivityTypeMail])
|
if ([activityType isEqualToString:UIActivityTypePostToTwitter] || [activityType isEqualToString:UIActivityTypeMail])
|
||||||
return [NSString stringWithFormat:@"%@ %@", L(@"whatsnew_editor_message_1"), omapsURL];
|
return [NSString stringWithFormat:@"%@ %@", L(@"whatsnew_editor_message_1"), comapsURL];
|
||||||
|
|
||||||
return [NSString stringWithFormat:@"%@.\n%@\n%@", L(@"editor_sharing_title"), L(@"whatsnew_editor_message_1"), omapsURL];
|
return [NSString stringWithFormat:@"%@.\n%@\n%@", L(@"editor_sharing_title"), L(@"whatsnew_editor_message_1"), comapsURL];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString *)activityViewController:(UIActivityViewController *)activityViewController
|
- (NSString *)activityViewController:(UIActivityViewController *)activityViewController
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
|
|
||||||
NSString * httpGe0Url(NSString * shortUrl)
|
NSString * httpGe0Url(NSString * shortUrl)
|
||||||
{
|
{
|
||||||
// Replace 'om://' with 'https://omaps.app/'
|
// Replace 'cm://' with 'https://comaps.app/'
|
||||||
return [shortUrl stringByReplacingCharactersInRange:NSMakeRange(0, 5) withString:@"https://omaps.app/"];
|
return [shortUrl stringByReplacingCharactersInRange:NSMakeRange(0, 5) withString:@"https://comaps.app/"];
|
||||||
}
|
}
|
||||||
|
|
||||||
@interface MWMShareActivityItem ()
|
@interface MWMShareActivityItem ()
|
||||||
|
|||||||
@@ -10,49 +10,49 @@ char const * kTextKml =
|
|||||||
"<Style id=\"placemark-blue\">"
|
"<Style id=\"placemark-blue\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-blue.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-blue.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-brown\">"
|
"<Style id=\"placemark-brown\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-brown.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-brown.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-green\">"
|
"<Style id=\"placemark-green\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-green.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-green.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-orange\">"
|
"<Style id=\"placemark-orange\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-orange.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-orange.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-pink\">"
|
"<Style id=\"placemark-pink\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-pink.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-pink.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-purple\">"
|
"<Style id=\"placemark-purple\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-purple.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-purple.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-red\">"
|
"<Style id=\"placemark-red\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-red.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-red.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ std::string_view constexpr kKmlFooter =
|
|||||||
"</kml>\n";
|
"</kml>\n";
|
||||||
|
|
||||||
std::string_view constexpr kExtendedDataHeader =
|
std::string_view constexpr kExtendedDataHeader =
|
||||||
"<ExtendedData xmlns:mwm=\"https://omaps.app\">\n";
|
"<ExtendedData xmlns:mwm=\"https://comaps.app\">\n";
|
||||||
|
|
||||||
std::string_view constexpr kExtendedDataFooter =
|
std::string_view constexpr kExtendedDataFooter =
|
||||||
"</ExtendedData>\n";
|
"</ExtendedData>\n";
|
||||||
@@ -145,7 +145,7 @@ void SaveStyle(Writer & writer, std::string const & style,
|
|||||||
writer << indent << kIndent2 << "<Style id=\"" << style << "\">\n"
|
writer << indent << kIndent2 << "<Style id=\"" << style << "\">\n"
|
||||||
<< indent << kIndent4 << "<IconStyle>\n"
|
<< indent << kIndent4 << "<IconStyle>\n"
|
||||||
<< indent << kIndent6 << "<Icon>\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 << kIndent6 << "</Icon>\n"
|
||||||
<< indent << kIndent4 << "</IconStyle>\n"
|
<< indent << kIndent4 << "</IconStyle>\n"
|
||||||
<< indent << kIndent2 << "</Style>\n";
|
<< indent << kIndent2 << "</Style>\n";
|
||||||
|
|||||||
@@ -44,49 +44,49 @@ char const * kmlString =
|
|||||||
"<Style id=\"placemark-blue\">"
|
"<Style id=\"placemark-blue\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-blue.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-blue.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-brown\">"
|
"<Style id=\"placemark-brown\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-brown.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-brown.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-green\">"
|
"<Style id=\"placemark-green\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-green.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-green.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-orange\">"
|
"<Style id=\"placemark-orange\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-orange.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-orange.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-pink\">"
|
"<Style id=\"placemark-pink\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-pink.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-pink.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-purple\">"
|
"<Style id=\"placemark-purple\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-purple.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-purple.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
"<Style id=\"placemark-red\">"
|
"<Style id=\"placemark-red\">"
|
||||||
"<IconStyle>"
|
"<IconStyle>"
|
||||||
"<Icon>"
|
"<Icon>"
|
||||||
"<href>https://omaps.app/placemarks/placemark-red.png</href>"
|
"<href>https://comaps.app/placemarks/placemark-red.png</href>"
|
||||||
"</Icon>"
|
"</Icon>"
|
||||||
"</IconStyle>"
|
"</IconStyle>"
|
||||||
"</Style>"
|
"</Style>"
|
||||||
|
|||||||
@@ -274,11 +274,11 @@ UNIT_TEST(MapApiGe0)
|
|||||||
TEST_EQUAL(p0.m_name, "Zoo Zürich", ());
|
TEST_EQUAL(p0.m_name, "Zoo Zürich", ());
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
ParsedMapApi api("http://omaps.app/o4B4pYZsRs/Zoo_Zürich");
|
ParsedMapApi api("http://comaps.app/o4B4pYZsRs/Zoo_Zürich");
|
||||||
TEST_EQUAL(api.GetRequestType(), UrlType::Map, ());
|
TEST_EQUAL(api.GetRequestType(), UrlType::Map, ());
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
ParsedMapApi api("https://omaps.app/o4B4pYZsRs/Zoo_Zürich");
|
ParsedMapApi api("https://comaps.app/o4B4pYZsRs/Zoo_Zürich");
|
||||||
TEST_EQUAL(api.GetRequestType(), UrlType::Map, ());
|
TEST_EQUAL(api.GetRequestType(), UrlType::Map, ());
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@@ -376,7 +376,7 @@ UNIT_TEST(CrosshairApi)
|
|||||||
TEST_EQUAL(api.GetAppName(), "Google Maps", ());
|
TEST_EQUAL(api.GetAppName(), "Google Maps", ());
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
ParsedMapApi api("https://omaps.app/crosshair?cll=47.3813,8.5889&appname=Google%20Maps");
|
ParsedMapApi api("https://comaps.app/crosshair?cll=47.3813,8.5889&appname=Google%20Maps");
|
||||||
TEST_EQUAL(api.GetRequestType(), UrlType::Crosshair, ());
|
TEST_EQUAL(api.GetRequestType(), UrlType::Crosshair, ());
|
||||||
ms::LatLon latlon = api.GetCenterLatLon();
|
ms::LatLon latlon = api.GetCenterLatLon();
|
||||||
TEST_ALMOST_EQUAL_ABS(latlon.m_lat, 47.3813, kEps, ());
|
TEST_ALMOST_EQUAL_ABS(latlon.m_lat, 47.3813, kEps, ());
|
||||||
|
|||||||
@@ -1200,10 +1200,10 @@ UNIT_CLASS_TEST(ProcessorTest, SearchCoordinates)
|
|||||||
{"https://yandex.com.tr/harita/115707/fatih/?ll=28.967470%2C41.008857&z=10", 41.008857,
|
{"https://yandex.com.tr/harita/115707/fatih/?ll=28.967470%2C41.008857&z=10", 41.008857,
|
||||||
28.967470},
|
28.967470},
|
||||||
|
|
||||||
{"http://omaps.app/kyuh76X_vf/Borgo_Maggiore", 43.941187, 12.447423},
|
{"http://comaps.app/kyuh76X_vf/Borgo_Maggiore", 43.941187, 12.447423},
|
||||||
{"ge0://kyuh76X_vf/Borgo_Maggiore", 43.941187, 12.447423},
|
{"ge0://kyuh76X_vf/Borgo_Maggiore", 43.941187, 12.447423},
|
||||||
{"Check out Ospedale di Stato My Places • Hospital "
|
{"Check out Ospedale di Stato My Places • Hospital "
|
||||||
"http://omaps.app/syujRR7Xgi/Ospedale_di_Stato ge0://syujRR7Xgi/Ospedale_di_Stato",
|
"http://comaps.app/syujRR7Xgi/Ospedale_di_Stato ge0://syujRR7Xgi/Ospedale_di_Stato",
|
||||||
43.950255, 12.455579},
|
43.950255, 12.455579},
|
||||||
|
|
||||||
{"https://en.mapy.cz/zakladni?x=37.5516243&y=55.7638088&z=12", 55.7638088, 37.5516243},
|
{"https://en.mapy.cz/zakladni?x=37.5516243&y=55.7638088&z=12", 55.7638088, 37.5516243},
|
||||||
|
|||||||
Reference in New Issue
Block a user