<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — OnlineMapsUtils.GetCenterPointAndZoom]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2370&amp;type=atom" />
	<updated>2025-06-05T10:46:01Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2370</id>
		<entry>
			<title type="html"><![CDATA[Re: OnlineMapsUtils.GetCenterPointAndZoom]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9834#p9834" />
			<content type="html"><![CDATA[<p>Hi.</p><p>Make a copy of OnlineMapsUtils.GetCenterPointAndZoom method into your class, pass the desired screen width and height there, and use that instead of the map width and height.<br />I think you won&#039;t have a problem doing this yourself.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-06-05T10:46:01Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9834#p9834</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[OnlineMapsUtils.GetCenterPointAndZoom]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9831#p9831" />
			<content type="html"><![CDATA[<p>Hi Alex,</p><p>I am trying to use OnlineMapsUtils.GetCenterPointAndZoom to get zoom &amp; center position that fit all markers on screen but I am using a RawImage with TouchForwarder and AdjustScreen and depending on the device resolution, it does not give the expected result. For some mobile device, maps is 3Kx3K or 768x768... Not that not the entire map is displayed on screen, everything is displayed in portrait.</p><p>Do you have any suggestion ?</p><p>Thank you in advance</p><p>Best<br />AG</p>]]></content>
			<author>
				<name><![CDATA[murphyii]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1579</uri>
			</author>
			<updated>2025-06-05T08:50:19Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9831#p9831</id>
		</entry>
</feed>
