<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — OnlineMaps with RWT + another question]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1133&amp;type=atom" />
	<updated>2019-05-03T10:33:01Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1133</id>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMaps with RWT + another question]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4867#p4867" />
			<content type="html"><![CDATA[<p>Something like that:<br /></p><div class="codebox"><pre><code>using UnityEngine;

public class InstantiateMapWithInternet : MonoBehaviour
{
    /// &lt;summary&gt;
    /// Real World Terrain Container in Scene
    /// &lt;/summary&gt;
    public GameObject realWorldTerrainContainer;

    /// &lt;summary&gt;
    /// Prefab of the map in Assets
    /// &lt;/summary&gt;
    public GameObject mapPrefab;

    private void Start()
    {
        OnlineMapsWWW www = new OnlineMapsWWW(&quot;https://www.google.com&quot;); // Any site
        www.OnComplete += OnRequestComplete;
    }

    private void OnRequestComplete(OnlineMapsWWW www)
    {
        if (www.hasError) return;
        Instantiate(mapPrefab);
        OnlineMapsUtils.Destroy(realWorldTerrainContainer);
    }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-05-03T10:33:01Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4867#p4867</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMaps with RWT + another question]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4863#p4863" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Hello.</p><p>1. Yes, it is possible.<br />2. I did not see Embedded Browser in action, but I think what you described will work.</p></blockquote></div><p>Thanks Alex for your prompt (as usual!) answer.</p><p>1 : Any tuto about the procedure (I haven&#039;t bought OLMaps yet, maybe this is described in one of the tutorials) ?<br />2 : I&#039;ll try !</p>]]></content>
			<author>
				<name><![CDATA[philzmz]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=606</uri>
			</author>
			<updated>2019-05-03T05:15:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4863#p4863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMaps with RWT + another question]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4858#p4858" />
			<content type="html"><![CDATA[<p>Hello.</p><p>1. Yes, it is possible.<br />2. I did not see Embedded Browser in action, but I think what you described will work.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-05-02T19:39:29Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4858#p4858</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[OnlineMaps with RWT + another question]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4857#p4857" />
			<content type="html"><![CDATA[<p>Hi, I have 2 questions about online maps.</p><p>1/ I am using RealWorldTerrain, and would like how OnlineMaps could work on the same map, how the 2 assets could work together.<br /> I mean, I download for instance the tiles in low res (for instance zoom=14), so the app can work offline anyway. But if the user has an internet connection, and if level 18 is needed, Lowres tiles on the map are replaced in real time by level18 downloaded tiles (hope it is clear...)</p><p>2/ In your webGL demo (<a href="http://infinity-code.com/en/demos/online-maps/online-maps-demo">http://infinity-code.com/en/demos/onlin … -maps-demo</a>), is it possible to add another &quot;HTML layer&quot; (for instance a virtual tour) using this asset <a href="https://assetstore.unity.com/packages/tools/gui/embedded-browser-55459,">https://assetstore.unity.com/packages/t … ser-55459,</a> and&nbsp; continue to display the result in a web browser ?</p><p>Best regards, Phil</p>]]></content>
			<author>
				<name><![CDATA[philzmz]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=606</uri>
			</author>
			<updated>2019-05-02T18:26:59Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4857#p4857</id>
		</entry>
</feed>
