<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Zoom in further than zoom level 20?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=665&amp;type=atom" />
	<updated>2017-09-29T23:43:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=665</id>
		<entry>
			<title type="html"><![CDATA[Re: Zoom in further than zoom level 20?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2865#p2865" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Try it. You need to modify the constant OnlineMaps.MAXZOOM.<br />I do not know what will happen.<br />Theoretically this should work correctly up to zoom = 28.</p><p>The width / height of the map should be 256 * N.<br />Otherwise, all conversions do not work correctly.<br />This is a known problem, and we are working on a solution.<br />Get around this is very easy - use a size (width and height) equal to N * 256, for example 4608x2560.<br />tilesetSize can have any value.</p><p>Enter something like &quot;skyscraper wall texture&quot; or &quot;building wall texture&quot; in google search, and you&#039;ll find many suitable textures.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-09-29T23:43:34Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2865#p2865</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Zoom in further than zoom level 20?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2858#p2858" />
			<content type="html"><![CDATA[<p>Some other questions I have is trying to match the buildings to the map. As you can see from the screenshot the buildings are offset from where they should be. </p><p>This is the code I use to initialize the map (then I just add the building script). <br /></p><div class="codebox"><pre><code>//Set Map
        gameObject.transform.position = new Vector3(1200, 0, -164);
        OnlineMaps.instance.width = 4500;
        OnlineMaps.instance.height = 2400;
        OnlineMaps.instance.tilesetSize = new Vector2(4500, 2400);

        // Set Zoom and Zoom Range
        OnlineMaps.instance.zoomRange = new OnlineMapsRange(15, 20);
        OnlineMaps.instance.zoom = 17;

        //Position Map + Get Routes
        OnlineMaps.instance.position = new Vector2(-2.990789f, 53.434323f);</code></pre></div><p>The same happens when I use the google routing api to draw a line from start to end points. <br />I am currently using OpenStreetMaps as the provider but I have tried it with others and got the same results. </p><br /><p>Finally, could I also ask where you got your building textures from that are shown in the asset store?</p><p>Regards<br />Brian</p>]]></content>
			<author>
				<name><![CDATA[brian4342]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=546</uri>
			</author>
			<updated>2017-09-29T13:55:58Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2858#p2858</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Zoom in further than zoom level 20?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2857#p2857" />
			<content type="html"><![CDATA[<p>Is it possible to change the parameters in the OnlineMaps to allow you to zoom in further than zoom level 20?</p><p>I would like to simulate 2-lane traffic and have a potential zoom level of 20-25. Is this possible?</p><p>Regards<br />Brian</p>]]></content>
			<author>
				<name><![CDATA[brian4342]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=546</uri>
			</author>
			<updated>2017-09-29T10:45:20Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2857#p2857</id>
		</entry>
</feed>
