<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Google Styled Maps not working as expected]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=97</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=97&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Google Styled Maps not working as expected.]]></description>
		<lastBuildDate>Mon, 29 Feb 2016 19:30:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Google Styled Maps not working as expected]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=406#p406</link>
			<description><![CDATA[<p>Hello.</p><p>This is because Google Satellite Map has two layers (satellite and labels).<br />When you use «Provider - Custom», you use only one layer.<br />You can work around this using Online Maps API.</p><p>In Online Maps v2.4.0.21 beta we&#039;ve added a new feature - overlay for tileset.<br />Example attached.</p><p>For older versions of Online Maps, see:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/TilesetMapTilerOverlayExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 29 Feb 2016 19:30:21 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=406#p406</guid>
		</item>
		<item>
			<title><![CDATA[Re: Google Styled Maps not working as expected]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=404#p404</link>
			<description><![CDATA[<div class="codebox"><pre><code>(http): maps.google.com /maps/vt?pb=!1m5!1m4!1i10!2i293!3i389!4i256!2m3!1e0!2sm!3i338006535!3m14!2sen-US!3sUS!5e18!12m1!1e50!12m3!1e37!2m1!1ssmartmaps!12m4!1e26!2m2!1sstyles!2zcC52Om9mZixzLnQ6MXxwLnY6b24scy50OjZ8cC52Om9uLHMudDo4MnxwLnY6b24!4e0&amp;token=10347  &lt;---this looks like an overlay, has text but no terrain&gt;</code></pre></div><p>If I apply the {x}/{y}/{zoom} replacements in the obvious places to the first one and use it as a custom provider URL, I get the terrain image with zero styling. If I apply them to the second url and use that, it shows an obviously malformed map (some features, no terrain, etc.).</p><p>Any thoughts on how to get the proper map tiles, with the style information overlaid properly?</p>]]></description>
			<author><![CDATA[null@example.com (stephen)]]></author>
			<pubDate>Mon, 29 Feb 2016 16:32:47 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=404#p404</guid>
		</item>
		<item>
			<title><![CDATA[Re: Google Styled Maps not working as expected]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=403#p403</link>
			<description><![CDATA[<p>Using Chrome dev tools, I then opened up the Network tab, and noted the following three url&#039;s per tile:</p><div class="codebox"><pre><code>(http): khm1.googleapis.com /kh?v=197&amp;hl=en-US&amp;&amp;x=293&amp;y=389&amp;z=10  &lt;--this is the terrain image&gt;</code></pre></div><p>And now I have to wait at least 60 seconds between posts. Also painful.</p>]]></description>
			<author><![CDATA[null@example.com (stephen)]]></author>
			<pubDate>Mon, 29 Feb 2016 16:31:35 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=403#p403</guid>
		</item>
		<item>
			<title><![CDATA[Google Styled Maps not working as expected]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=402#p402</link>
			<description><![CDATA[<p>I&#039;m brand new to Online Maps so this might be a user error, but from what I see during troubleshooting it&#039;s not working as expected.</p><p>I&#039;m trying to make a very trimmed down satellite map with nothing but administrative features (country/state/province lines), so I created the following style using the <a href="http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html">API styler</a>:</p><p>Google Maps API v3 Styled Maps JSON<br /></p><div class="codebox"><pre><code>[
  {
    &quot;stylers&quot;: [
      { &quot;visibility&quot;: &quot;off&quot; }
    ]
  },{
    &quot;featureType&quot;: &quot;administrative&quot;,
    &quot;stylers&quot;: [
      { &quot;visibility&quot;: &quot;on&quot; }
    ]
  },{
    &quot;featureType&quot;: &quot;water&quot;,
    &quot;stylers&quot;: [
      { &quot;visibility&quot;: &quot;on&quot; }
    ]
  },{
    &quot;featureType&quot;: &quot;landscape.natural&quot;,
    &quot;stylers&quot;: [
      { &quot;visibility&quot;: &quot;on&quot; }
    ]
  }
]</code></pre></div><br /><p>Unrelated: the forum software would not let me post this message due to too many links. so I had to post the urls above in separate messages. Painful.</p><div class="codebox"><pre><code>Warning! The following errors must be corrected before your message can be posted:
Too more links in message. Allowed 1 links. Reduce number of links and post it again.</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (stephen)]]></author>
			<pubDate>Mon, 29 Feb 2016 16:30:34 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=402#p402</guid>
		</item>
	</channel>
</rss>
