<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — No support for HereAPI V8, cant make a new account with 7.2 API.]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1942</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1942&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in No support for HereAPI V8, cant make a new account with 7.2 API..]]></description>
		<lastBuildDate>Mon, 25 Apr 2022 09:29:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: No support for HereAPI V8, cant make a new account with 7.2 API.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8226#p8226</link>
			<description><![CDATA[<p>Hello.</p><p>Implementation of classes for HERE Routing API v8 is complete and will be included in the next release.<br />If anyone wants to get a patch before release, please send me an email (support@infinity-code.com).</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 25 Apr 2022 09:29:33 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8226#p8226</guid>
		</item>
		<item>
			<title><![CDATA[Re: No support for HereAPI V8, cant make a new account with 7.2 API.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8206#p8206</link>
			<description><![CDATA[<p>I am highly interested in here specifically as a provider. Could you please elaborate more on this Test class? Or can you confirm that a fix is about to come?</p>]]></description>
			<author><![CDATA[null@example.com (Coro)]]></author>
			<pubDate>Thu, 14 Apr 2022 11:51:38 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8206#p8206</guid>
		</item>
		<item>
			<title><![CDATA[Re: No support for HereAPI V8, cant make a new account with 7.2 API.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8204#p8204</link>
			<description><![CDATA[<p>Thank you.</p>]]></description>
			<author><![CDATA[null@example.com (Appearia)]]></author>
			<pubDate>Tue, 12 Apr 2022 08:04:16 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8204#p8204</guid>
		</item>
		<item>
			<title><![CDATA[Re: No support for HereAPI V8, cant make a new account with 7.2 API.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8202#p8202</link>
			<description><![CDATA[<p>Hello.</p><p>Thank you for reporting this.<br />I will try to add v8 support soon.<br />It will take some time. I think it will be ready next week.</p><p>If you need it urgently, then you can parse the response directly as JSON (it&#039;s not XML).<br />Example:<br /></p><div class="codebox"><pre><code>using System.Collections.Generic;
using System.Linq;
using UnityEngine;

namespace InfinityCode.OnlineMapsSupport
{
    public class TestParseHere8 : MonoBehaviour
    {
        private void Start()
        {
            // Response
            string v = @&quot;{&quot;&quot;routes&quot;&quot;:[{&quot;&quot;id&quot;&quot;:&quot;&quot;e9293701-ed67-47ed-8440-8f24a4d5c485&quot;&quot;,&quot;&quot;sections&quot;&quot;:[{&quot;&quot;id&quot;&quot;:&quot;&quot;ee099a17-1a08-48a1-ac17-5a9617d35d20&quot;&quot;,&quot;&quot;type&quot;&quot;:&quot;&quot;pedestrian&quot;&quot;,&quot;&quot;departure&quot;&quot;:{&quot;&quot;time&quot;&quot;:&quot;&quot;2022-04-11T16:47:34+03:00&quot;&quot;,&quot;&quot;place&quot;&quot;:{&quot;&quot;type&quot;&quot;:&quot;&quot;place&quot;&quot;,&quot;&quot;location&quot;&quot;:{&quot;&quot;lat&quot;&quot;:31.77554,&quot;&quot;lng&quot;&quot;:35.23109},&quot;&quot;originalLocation&quot;&quot;:{&quot;&quot;lat&quot;&quot;:31.77552,&quot;&quot;lng&quot;&quot;:35.2311199}}},&quot;&quot;arrival&quot;&quot;:{&quot;&quot;time&quot;&quot;:&quot;&quot;2022-04-11T16:51:27+03:00&quot;&quot;,&quot;&quot;place&quot;&quot;:{&quot;&quot;type&quot;&quot;:&quot;&quot;place&quot;&quot;,&quot;&quot;location&quot;&quot;:{&quot;&quot;lat&quot;&quot;:31.7741539,&quot;&quot;lng&quot;&quot;:35.2317627},&quot;&quot;originalLocation&quot;&quot;:{&quot;&quot;lat&quot;&quot;:31.7741699,&quot;&quot;lng&quot;&quot;:35.23176}}},&quot;&quot;summary&quot;&quot;:{&quot;&quot;duration&quot;&quot;:233,&quot;&quot;length&quot;&quot;:232,&quot;&quot;baseDuration&quot;&quot;:233},&quot;&quot;polyline&quot;&quot;:&quot;&quot;BGoztz8Bk3qmjCnQ3D_JTrJT3DTrOnBvCAvHUnGUAwCwCkXA8B3N8BvCU_EUkCiR&quot;&quot;,&quot;&quot;transport&quot;&quot;:{&quot;&quot;mode&quot;&quot;:&quot;&quot;pedestrian&quot;&quot;}}]}]}&quot;;

            // Parse json string
            OnlineMapsJSONItem json = OnlineMapsJSON.Parse(v);

            // Get a first section
            OnlineMapsJSONItem firstRoute = json[&quot;routes/0/sections/0&quot;];

            // Get a polyline string
            string polyline = firstRoute.V&lt;string&gt;(&quot;polyline&quot;);
            Debug.Log(polyline);

            // Decode string
            // Important: This is not the correct method for HERE&#039;s polyline string and will return the wrong result.
            // HERE uses its own algorithm, the decoder for which you can find here:
            // https://github.com/heremaps/flexible-polyline
            List&lt;OnlineMapsVector2d&gt; points = OnlineMapsUtils.DecodePolylinePointsD(polyline);

            // Draw a line
            OnlineMapsDrawingLine line = new OnlineMapsDrawingLine(points, Color.red, 3);
            OnlineMapsDrawingElementManager.AddItem(line);

            // Get a center point and zoom for polyline
            Vector2 center;
            int zoom;
            OnlineMapsUtils.GetCenterPointAndZoom(points.Select(p =&gt; new Vector2((float)p.x, (float)p.y)).ToArray(), out center, out zoom);

            // Set a center and zoom to the map
            OnlineMaps.instance.SetPositionAndZoom(center.x, center.y, zoom);

            // Redraw the map
            OnlineMaps.instance.Redraw();

        }
    }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 11 Apr 2022 22:47:01 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8202#p8202</guid>
		</item>
		<item>
			<title><![CDATA[No support for HereAPI V8, cant make a new account with 7.2 API.]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8197#p8197</link>
			<description><![CDATA[<p>HereAPI doesn&#039;t offer new support for V7.2.</p><p>I tried making an account today and saw that the account only offers support for V8.<br />While I can change the string request to fit the changes of V8,<br />it gets caught on the xml document loader.</p><p>The xml string is correct is correct for 7.2 but not for V8.<br />is there any workarounds I can use in the meantime?</p><p>Catch error:</p><p>[File: OnlineMapsXML.CS]<br />Can not load XML from string:<br />{&quot;routes&quot;:[{&quot;id&quot;:&quot;e9293701-ed67-47ed-8440-8f24a4d5c485&quot;,&quot;sections&quot;:[{&quot;id&quot;:&quot;ee099a17-1a08-48a1-ac17-5a9617d35d20&quot;,&quot;type&quot;:&quot;pedestrian&quot;,&quot;departure&quot;:{&quot;time&quot;:&quot;2022-04-11T16:47:34+03:00&quot;,&quot;place&quot;:{&quot;type&quot;:&quot;place&quot;,&quot;location&quot;:{&quot;lat&quot;:31.77554,&quot;lng&quot;:35.23109},&quot;originalLocation&quot;:{&quot;lat&quot;:31.77552,&quot;lng&quot;:35.2311199}}},&quot;arrival&quot;:{&quot;time&quot;:&quot;2022-04-11T16:51:27+03:00&quot;,&quot;place&quot;:{&quot;type&quot;:&quot;place&quot;,&quot;location&quot;:{&quot;lat&quot;:31.7741539,&quot;lng&quot;:35.2317627},&quot;originalLocation&quot;:{&quot;lat&quot;:31.7741699,&quot;lng&quot;:35.23176}}},&quot;summary&quot;:{&quot;duration&quot;:233,&quot;length&quot;:232,&quot;baseDuration&quot;:233},&quot;polyline&quot;:&quot;BGoztz8Bk3qmjCnQ3D_JTrJT3DTrOnBvCAvHUnGUAwCwCkXA8B3N8BvCU_EUkCiR&quot;,&quot;transport&quot;:{&quot;mode&quot;:&quot;pedestrian&quot;}}]}]}</p>]]></description>
			<author><![CDATA[null@example.com (Appearia)]]></author>
			<pubDate>Mon, 11 Apr 2022 13:50:27 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8197#p8197</guid>
		</item>
	</channel>
</rss>
