<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Marker Scale by Zoom Example]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=100&amp;type=atom" />
	<updated>2016-03-02T19:23:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=100</id>
		<entry>
			<title type="html"><![CDATA[Re: Marker Scale by Zoom Example]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=423#p423" />
			<content type="html"><![CDATA[<p>Hello.</p><p>The map has the size (tiles):<br />Size = 2 ^ Zoom</p><p>Zoom: tiles<br />0: 1x1<br />1: 2x2<br />2: 4x4<br />3: 8x8</p><p>The fastest way to calculate the size - it is a binary shift.</p><p><a href="http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/">http://www.maptiler.org/google-maps-coo … rojection/</a><br /><a href="https://msdn.microsoft.com/en-us/library/bb259689.aspx">https://msdn.microsoft.com/en-us/library/bb259689.aspx</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-03-02T19:23:55Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=423#p423</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Marker Scale by Zoom Example]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=422#p422" />
			<content type="html"><![CDATA[<p><a href="http://infinity-code.com/atlas/online-maps/pages/MarkerScaleByZoomExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p><p>I&#039;m trying to understand the following code:<br /></p><div class="codebox"><pre><code>        float originalScale = 1 &lt;&lt; defaultZoom;
        float currentScale = 1 &lt;&lt; OnlineMaps.instance.zoom;</code></pre></div><p>It looks to me like you&#039;re using the binary shift operator. Is that the case, or are you overloading it in some way? If you are, could you explain your logic here just a bit?</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[Quidam]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=76</uri>
			</author>
			<updated>2016-03-02T18:59:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=422#p422</id>
		</entry>
</feed>
