<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — IgnoreGPS marker from location service raycast]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2092&amp;type=atom" />
	<updated>2023-03-10T06:01:26Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2092</id>
		<entry>
			<title type="html"><![CDATA[Re: IgnoreGPS marker from location service raycast]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8897#p8897" />
			<content type="html"><![CDATA[<p>Hello.</p><p>You can do it this way:<br />- Create your own Marker Drawer, which will inherit OnlineMapsMarkerBufferDrawer if you use 2D Control, or OnlineMapsMarkerFlatDrawer if you use Tileset.<br />- Override GetMarkerFromScreen method, and add check that it is not location marker (OnlineMapsLocationServiceBase.marker).<br />- In Start of your script, set your drawer to OnlineMapsControlBase.markerDrawer.</p><p>Example how to use custom marker drawers:<br /><a href="https://infinity-code.com/atlas/online-maps/pages/uGUIMarkerDrawer.html">https://infinity-code.com/atlas/online- … rawer.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2023-03-10T06:01:26Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8897#p8897</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[IgnoreGPS marker from location service raycast]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8896#p8896" />
			<content type="html"><![CDATA[<p>Hello,</p><p>I am currently looking for a way to ignore the marker from the OnlineMapsLocationService. It is getting drawn on top of other markers and as such it is preventing them from being clicked. Is there a way to ignore the gps marker when clicking - tapping so the other markers can be clicked 100% of the times?</p><p>Thank you very much</p>]]></content>
			<author>
				<name><![CDATA[InfoRun]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2067</uri>
			</author>
			<updated>2023-03-09T14:07:57Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8896#p8896</id>
		</entry>
</feed>
