<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: Solution: Make Google Maps icon(s) hi-res &amp; retina compliant</title>
		<link>http://www.themolitor.com/forums/topic/solution-make-google-maps-icons-hi-res-retina-compliant</link>
		<description>THE MOLITOR FORUMS &#187; Topic: Solution: Make Google Maps icon(s) hi-res &amp; retina compliant</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 19:37:21 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/solution-make-google-maps-icons-hi-res-retina-compliant" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "Solution: Make Google Maps icon(s) hi-res &amp; retina compliant"</title>
			<link>http://www.themolitor.com/forums/topic/solution-make-google-maps-icons-hi-res-retina-compliant#post-33661</link>
			<pubDate>Mon, 23 Mar 2015 10:44:39 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">33661@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks for sharing! :-)</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>Dalileis on "Solution: Make Google Maps icon(s) hi-res &amp; retina compliant"</title>
			<link>http://www.themolitor.com/forums/topic/solution-make-google-maps-icons-hi-res-retina-compliant#post-33655</link>
			<pubDate>Mon, 23 Mar 2015 10:29:14 +0000</pubDate>
			<dc:creator>Dalileis</dc:creator>
			<guid isPermaLink="false">33655@http://www.themolitor.com/forums/</guid>
			<description><p>Here is how you make Google Maps icon(s) hi-res &#38; retina compliant.</p>
<p>If your uploaded markers original size is, let's say: 80px x 80px.</p>
<p>In single.php:</p>
<pre><code>marker:{
      	options:{
        	icon: new google.maps.MarkerImage(&#039;&#60;?php echo $pin;?&#62;&#039;,
		null, /* size is determined at runtime */
		null, /* origin is 0,0 */
		null, /* anchor is bottom center of the scaled image */
		new google.maps.Size(40, 40)
	)}
},</code></pre>
<p>In page.php</p>
<pre><code>marker:{
      	options:{
        	icon: new google.maps.MarkerImage(&#039;&#60;?php echo $pin;?&#62;&#039;,
		null, /* size is determined at runtime */
		null, /* origin is 0,0 */
		null, /* anchor is bottom center of the scaled image */
		new google.maps.Size(40, 40)
	)}
},</code></pre>
<p>In script.php</p>
<pre><code>options: {icon: new google.maps.MarkerImage(pin,
	null, /* size is determined at runtime */
	null, /* origin is 0,0 */
	null, /* anchor is bottom center of the scaled image */
	new google.maps.Size(40, 40)
)},</code></pre>
<p>In script_list.php:</p>
<pre><code>options: {icon: new google.maps.MarkerImage(pin,
	null, /* size is determined at runtime */
	null, /* origin is 0,0 */
	null, /* anchor is bottom center of the scaled image */
	new google.maps.Size(40, 40)
)},</code></pre>
<p>Where: new google.maps.Size(40, 40) is half of 80px x 80px</p>
<p>The same principle applies for any size. If your original marker size is, let's say, 44px x 30px, then you should use: new google.maps.Size(22, 15)
</p></description>
		</item>

	</channel>
</rss>
