<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — How to get world position of location on my tileset]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2410&amp;type=atom" />
	<updated>2026-01-11T23:57:57Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2410</id>
		<entry>
			<title type="html"><![CDATA[Re: How to get world position of location on my tileset]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9940#p9940" />
			<content type="html"><![CDATA[<p>Thanks!!&nbsp; Awesome Alex <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[digitalrock]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=308</uri>
			</author>
			<updated>2026-01-11T23:57:57Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9940#p9940</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to get world position of location on my tileset]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9939#p9939" />
			<content type="html"><![CDATA[<p>Hi.</p><div class="codebox"><pre><code>// get the world (vector3) pos corresponding to this lat/lon
Vector3 customMarkerPos = TileSetControl.instance.LocationToWorld(someObject.Long, someObject.Lat);</code></pre></div><p><a href="https://infinity-code.com/documentation/online-maps-v4.html#api---OnlineMaps-ControlBaseDynamicMesh---LocationToWorld">https://infinity-code.com/documentation … ionToWorld</a></p><p>Upgrade From Online Maps v3:<br /><a href="https://infinity-code.com/documentation/online-maps-v4.html#api---upgrade-from-v3">https://infinity-code.com/documentation … de-from-v3</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2026-01-11T23:33:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9939#p9939</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to get world position of location on my tileset]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9938#p9938" />
			<content type="html"><![CDATA[<p>So I have a new unity project and have upgraded to using the new Online Maps 4 asset.&nbsp; Years ago, using online maps 3 I was able to execute this line:</p><div class="codebox"><pre><code>// get the world (vector3) pos corresponding to this lat/lon
Vector3 customMarkerPos = OnlineMapsTileSetControl.instance.GetWorldPosition(someObject.Long, someObject.Lat);</code></pre></div><p>I looked through the atlas of examples and searched here on the forum, but I only came up with:</p><div class="codebox"><pre><code>Vector3 customMarkerPos = OnlineMapsControlBaseDynamicMesh.instance.GetWorldPosition(locationMarker.location);</code></pre></div><p>Unfortunately I get:&nbsp; The name &#039;OnlineMapsControlBaseDynamicMesh&#039; does not exist in the current context</p><p>I think I&#039;m in over my head here Alex.&nbsp; Any suggestions?&nbsp; Thanks!</p>]]></content>
			<author>
				<name><![CDATA[digitalrock]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=308</uri>
			</author>
			<updated>2026-01-11T23:23:35Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9938#p9938</id>
		</entry>
</feed>
