<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Custom marker + Custom UI Popup]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1749&amp;type=atom" />
	<updated>2021-04-08T00:03:49Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1749</id>
		<entry>
			<title type="html"><![CDATA[Re: Custom marker + Custom UI Popup]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7362#p7362" />
			<content type="html"><![CDATA[<p>Hello.</p><p>You mean the old uGUICustomMarkerEngineExample example, right?<br />This is very deprecated (removed a year ago) and now you can do it this way:<br /><a href="https://infinity-code.com/atlas/online-maps/pages/uGUIMarkerDrawer.html">https://infinity-code.com/atlas/online- … rawer.html</a></p><p>When using uGUICustomMarkerEngineExample, you cannot use marker events and you need to add listeners to UI elements yourself.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2021-04-08T00:03:49Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7362#p7362</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Custom marker + Custom UI Popup]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=7358#p7358" />
			<content type="html"><![CDATA[<p>I&#039;m working on combining the custom marker engine and a custom UI Popup together. However, it seems that when creating custom markers, it doesn&#039;t use the </p><div class="codebox"><pre><code>OnlineMapsMarkerBase</code></pre></div><p> so that the OnMarkerClick method is not available. I tried creating my marker prefab as a button but the click handler doesn&#039;t fire. </p><p>I was able to get </p><div class="codebox"><pre><code>OnMapClick</code></pre></div><p> but it doesn&#039;t seem to contain any data on what is being clicked. </p><p>Any thoughts on how to do this? (Other than doing a custom raycast hit listener) Thanks!!</p>]]></content>
			<author>
				<name><![CDATA[rosemary]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1591</uri>
			</author>
			<updated>2021-04-07T13:13:13Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=7358#p7358</id>
		</entry>
</feed>
