<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — PhotonView use]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1365&amp;type=atom" />
	<updated>2019-09-21T12:02:53Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1365</id>
		<entry>
			<title type="html"><![CDATA[Re: PhotonView use]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5599#p5599" />
			<content type="html"><![CDATA[<p><a href="http://infinity-code.com/atlas/online-maps/pages/ModifyTooltipStyleExample.html">http://infinity-code.com/atlas/online-m … ample.html</a><br /><a href="http://infinity-code.com/atlas/online-maps/pages/uGUICustomTooltipForAllMarkersExample.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-09-21T12:02:53Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5599#p5599</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PhotonView use]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5598#p5598" />
			<content type="html"><![CDATA[<p>Hi .. <br />when i move the mouse over the marker its show the marker label .. <br />the marker label Font is too small .<br />is there any way to control the size of that font.</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-21T12:00:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5598#p5598</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PhotonView use]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5596#p5596" />
			<content type="html"><![CDATA[<p>1. It will not be easier, because in any case you will need to transfer the coordinates.<br />I think hashtable and RPC have the same (pretty low) usage complexity.<br />2. <a href="http://infinity-code.com/atlas/online-maps/pages/RotateMapInsteadMarkerExample.html">http://infinity-code.com/atlas/online-m … ample.html</a><br />3. This happens automatically if you create a marker using Online Maps Location Service.<br />If you create a marker manually:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/Marker_GPS_Example.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-09-21T11:48:34Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5596#p5596</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PhotonView use]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5594#p5594" />
			<content type="html"><![CDATA[<p>1-its more easy for me :-) <br />&nbsp; &nbsp; is there any difference between using hashtable and RPC ?<br />2-is there any example about rotating map while driving and keep marker strait &quot;i hope you understood me&quot;<br />3- how can i update my Marker location continually while moving &quot;Driving&quot; ...any example</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-20T19:21:48Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5594#p5594</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PhotonView use]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5593#p5593" />
			<content type="html"><![CDATA[<p>Theoretically - you can do it.<br />Practically - why do you need to do this?</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-20T19:01:06Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5593#p5593</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PhotonView use]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5590#p5590" />
			<content type="html"><![CDATA[<p>But I can use RPC function&nbsp; for updating players location every some seconds ? Inistid of hashting</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-20T14:39:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5590#p5590</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PhotonView use]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5589#p5589" />
			<content type="html"><![CDATA[<p>1. OnlineMapsDrawingElementManager.RemoveItem(route);</p><p>2. The response from Google Directions API may contain alternate routes. <br />In this example, only the main route is used.</p><p>3.1. Unfortunately, I did not understand this problem.<br />Please rephrase this in more detail.</p><p>3.2. Most likely the problem is that you are using the wrong defaultZoom.<br />The latest versions of Online Maps have a much easier way:<br /></p><div class="codebox"><pre><code>marker3D.sizeType = OnlineMapsMarker3D.SizeType.realWorld;
marker3D.scale = SOME_VALUE;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-20T00:14:34Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5589#p5589</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PhotonView use]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5587#p5587" />
			<content type="html"><![CDATA[<p>Thanks Alex .. it was easy<br />1-&nbsp; But if i draw a rout and later i want to delete it for creating another one ..how do i delete it ?</p><p>&nbsp; &nbsp; should i delete all the parts like :<br />&nbsp; &nbsp; &nbsp; &nbsp;foreach (OnlineMapsGoogleDirectionsResult.Leg leg in result.routes[0].legs)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;foreach (OnlineMapsGoogleDirectionsResult.Step step in leg.steps)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Debug.Log(step.string_instructions);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</p><p>or just destroy : result.routes[0]<br />or its is else ?</p><p>---------------------------<br />2-&nbsp; &nbsp;what is the index in (result.routes[0]) ?</p><p>3- when i used and set a 3D Marker .. there is a 2 problems<br />1- the marker &quot;Prefab&quot; moved and change its location by moving the map with the mouse cursor and by zooming .its not <br />&nbsp; &nbsp; sensitive like the 2D Marker ?<br />2- i used your function to scale the 3D Marker when zooming . but the result wasn&#039;t ok ?</p><p>your Function :<br />using UnityEngine;</p><p>public class TestScale3DMarkers : MonoBehaviour<br />{<br />&nbsp; &nbsp; public float defaultZoom = 3;<br />&nbsp; &nbsp; public GameObject prefab;<br />&nbsp; &nbsp; private OnlineMapsMarker3D marker;</p><p>&nbsp; &nbsp; private void Start ()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; marker = OnlineMapsMarker3DManager.CreateItem(OnlineMaps.instance.position, prefab);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; OnlineMaps.instance.OnChangeZoom += OnChangeZoom;<br />&nbsp; &nbsp; &nbsp; &nbsp; OnChangeZoom();<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; private void OnChangeZoom()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; marker.scale = Mathf.Pow(2, OnlineMaps.instance.floatZoom - defaultZoom);<br />&nbsp; &nbsp; }<br />}</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-19T16:19:51Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5587#p5587</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: PhotonView use]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5586#p5586" />
			<content type="html"><![CDATA[<p>Hello.</p><p>This works differently, and if you just add PhotonView it will not work correctly.<br />How to use Photon PUN2 for markers:<br /><a href="https://forum.infinity-code.com/viewtopic.php?id=936">https://forum.infinity-code.com/viewtopic.php?id=936</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-09-19T13:06:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5586#p5586</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[PhotonView use]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5584#p5584" />
			<content type="html"><![CDATA[<p>HI ...<br />i want to display every remark i create on other player screen .so i am using PUN2 .<br />so usually i am adding a photonview component to the gameobject that i want to view for all .. <br />my question is how can i add the photonview component to the Remark . <br />i wont add the photonview component to the online map that contain the Remark .</p>]]></content>
			<author>
				<name><![CDATA[tamim.ali.zoabi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1098</uri>
			</author>
			<updated>2019-09-19T11:04:55Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5584#p5584</id>
		</entry>
</feed>
