<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Errors after the upgrade]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1405&amp;type=atom" />
	<updated>2019-11-26T18:48:16Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1405</id>
		<entry>
			<title type="html"><![CDATA[Re: Errors after the upgrade]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5788#p5788" />
			<content type="html"><![CDATA[<p>In Buildings example scene on my side, the request takes about 1 second, and the buildings are shown immediately afterwards.</p><p>It’s hard to say what the problem is, because at least I don’t know your settings.<br />For example, I saw screenshots (from other users) where Buildings / Zoom Range is [15 - 20], which forces the OSM server to generate a response of about 100 megabytes, and reading data from such a response is also very slow.<br />I am not saying that this is your case, because I do not know this.<br />But at the same time, I do not exclude that the problem may be on your side.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-11-26T18:48:16Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5788#p5788</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Errors after the upgrade]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5787#p5787" />
			<content type="html"><![CDATA[<p>Thank you, I will try it and inform you. As to &#039;Building&#039; loading issue, could you please test it? There should be a difference, I haven&#039;t changed anything except replacing &quot;OnlineMapsCache.OnStartDownload&quot; with &quot;OnlineMapsTileManager.OnStartDownload&quot;. Otherwise it was giving errors. Do you think this may the cause of the slow down issue?</p>]]></content>
			<author>
				<name><![CDATA[mimarilker]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=600</uri>
			</author>
			<updated>2019-11-26T15:16:51Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5787#p5787</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Errors after the upgrade]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5785#p5785" />
			<content type="html"><![CDATA[<p>Original:<br /></p><div class="codebox"><pre><code>OnlineMapsGoogleGeocoding request = new OnlineMapsGoogleGeocoding(search, apiKey);
request.OnComplete += delegate (string s)
{
  request.Send();
};</code></pre></div><p>Fixed:<br /></p><div class="codebox"><pre><code>OnlineMapsGoogleGeocoding request = new OnlineMapsGoogleGeocoding(search, apiKey);
request.OnComplete += delegate (string s)
{
  // Here is the contents of your original delegates, from the script in post # 1.
}
request.Send();</code></pre></div><p>Unfortunately, it’s hard for me to comment on your message about buildings loading speed.<br />Between Online Maps v3.0 and 3.6, nothing fundamentally changed in building loading.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-11-26T14:15:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5785#p5785</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Errors after the upgrade]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5784#p5784" />
			<content type="html"><![CDATA[<p>I am trying to get Buildings from OSM, it was very fast before. Now I can clearly see the download process of every single building, it is now 40x slower. On the other hand, OnlineMapsGoogleGeocoding.Find(search).OnComplete += delegate ... has not been resolved. There is no error in Unity but the dropdown list is empty, please see the attached script. Thank you for your suggestions and support.</p>]]></content>
			<author>
				<name><![CDATA[mimarilker]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=600</uri>
			</author>
			<updated>2019-11-26T12:46:41Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5784#p5784</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Errors after the upgrade]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5783#p5783" />
			<content type="html"><![CDATA[<p>Replace<br /></p><div class="codebox"><pre><code>OnlineMapsGoogleGeocoding.Find(search).OnComplete += delegate ...</code></pre></div><p>to<br /></p><div class="codebox"><pre><code>OnlineMapsGoogleGeocoding request = new OnlineMapsGoogleGeocoding(search, googleApiKey);
request.OnComplete += delegate ... 
request.Send();</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-11-26T09:26:45Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5783#p5783</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Errors after the upgrade]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5782#p5782" />
			<content type="html"><![CDATA[<p>Thank you but I need to use Google AutocompleteApi to get suggestions for the location after the first search executed, those suggestions should be listed in a dropdown. Then the user select the desired one in the list and now the map goes to the selected location. Could you please direct me to make the script that I attached work again like that?</p>]]></content>
			<author>
				<name><![CDATA[mimarilker]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=600</uri>
			</author>
			<updated>2019-11-26T04:35:59Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5782#p5782</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Errors after the upgrade]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5780#p5780" />
			<content type="html"><![CDATA[<p>Hello.</p><p>In Online Maps v3.0, we marked many APIs obsolete so that all users had time to fix these warnings.<br />In Online Maps v3.6, we removed the obsolete APIs.</p><p>1. OnlineMapsCache.OnStartDownloadTile no longer exists.<br />Now you do not need to manage OnStartDownloadTile in several places.<br />Use only OnlineMapsTileManager.OnStartDownloadTile.</p><p>2. Use OnlineMapsGoogleGeocoding constructor.<br />Example:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/FindLocationExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-11-25T20:21:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5780#p5780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Errors after the upgrade]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5779#p5779" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I have upgraded from v3 to newest one and got three errors (two are identical) as follows:</p><p>&#039;OnlineMapsCache&#039; does not contain a definition for &#039;OnStartDownloadTile&#039; and no accessible extension method &#039;OnStartDownloadTile&#039; accepting a first argument of type &#039;OnlineMapsCache&#039; could be found (are you missing a using directive or an assembly reference?)</p><p>Assets\Infinity Code\Online maps\Examples\Scripts\ExampleGUI.cs(65,44): error CS1503: Argument 1: cannot convert from &#039;string&#039; to &#039;OnlineMapsGoogleGeocoding.RequestParams&#039;</p><p>Assets\Infinity Code\Online maps\Examples\Scripts\ExampleGUI.cs(86,44): error CS1503: Argument 1: cannot convert from &#039;string&#039; to &#039;OnlineMapsGoogleGeocoding.RequestParams&#039;</p>]]></content>
			<author>
				<name><![CDATA[mimarilker]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=600</uri>
			</author>
			<updated>2019-11-25T19:57:03Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5779#p5779</id>
		</entry>
</feed>
