<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Navigate conncet problem]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2054&amp;type=atom" />
	<updated>2022-10-30T09:04:38Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2054</id>
		<entry>
			<title type="html"><![CDATA[Re: Navigate conncet problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8715#p8715" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I just tested Google Directions API and it works well on my side.</p><p>There are usually two problems with the Directions API:<br />1. Problems with the key.<br />2. Problems with start or end location. For example, incorrect coordinates or place names, or Directions API cannot find a route between them.</p><p>Both problems can be easily identified by looking at the response from the service.<br />What response from the service do you have?</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-10-30T09:04:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8715#p8715</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Navigate conncet problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8714#p8714" />
			<content type="html"><![CDATA[<p>We use DistanceAndDurationExample script to&nbsp; get GPS imformation for building navigation system&nbsp; but&nbsp; Today OnlineMapsGoogleDirectionsResult&#039;s request all turns null. So we can&#039;t use the navigation function now.<br />We want to know what issue is?</p><p>But yesterday we just use this system normally .</p><p>1.our package version is 3.7.01.<br />2.We use google map to be our provider.(But we tried others provider is also request null)<br />3.We can&#039;t get map&#039;s&nbsp; image Imformaiton normally , just can&#039;t get navigation text imformation(like &quot;go north&quot;,Distance).</p><p>Plz help us! I will really appreciat for it.</p><p>&nbsp; private void OnGoogleDirectionsComplete(string response)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Debug.Log(response);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Try load result<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsGoogleDirectionsResult result = OnlineMapsGoogleDirections.GetResult(response);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (gameObject == null) return;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (gameObject.activeSelf == false) return;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (result == null || result.routes.Length == 0 || gameObject.activeSelf == false)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print(&quot;result is null&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print(&quot;result Length: &quot;+result.routes.Length);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</p>]]></content>
			<author>
				<name><![CDATA[kkyou19]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2289</uri>
			</author>
			<updated>2022-10-30T06:37:17Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8714#p8714</id>
		</entry>
</feed>
