<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>thematicmapping &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/thematicmapping/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>Change the sea/ocean color of OpenLayers (OSM) map</title>
		<link>/2009/08/07/change-the-sea-ocean-color-of-openlayers-osm-map/</link>
		<comments>/2009/08/07/change-the-sea-ocean-color-of-openlayers-osm-map/#respond</comments>
		<pubDate>Fri, 07 Aug 2009 06:15:48 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[openalyers]]></category>
		<category><![CDATA[openstreetmap]]></category>
		<category><![CDATA[thematicmapping]]></category>
		<category><![CDATA[white colored ocean]]></category>

		<guid isPermaLink="false">/?p=725</guid>
		<description><![CDATA[The ocean is blue! Yeah, that should sound OK, because as we all know the ocean is blue, but here I mean the ocean is blue on the maps of OpenStreetMap.org. This map uses pre-generated tiles with parts of the world map and using a tool such OpenLayers javascript library you can construct a geo &#8230; <a href="/2009/08/07/change-the-sea-ocean-color-of-openlayers-osm-map/" class="more-link">Continue reading <span class="screen-reader-text">Change the sea/ocean color of OpenLayers (OSM) map</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/06/20/openlayers-disable-mouse-wheel-on-zoom/" rel="bookmark" title="OpenLayers disable mouse wheel on zoom">OpenLayers disable mouse wheel on zoom </a></li>
<li><a href="/2009/08/06/openlayers-vectors-ie-bug/" rel="bookmark" title="OpenLayers vectors IE bug!">OpenLayers vectors IE bug! </a></li>
<li><a href="/2010/03/19/openlayers-can-be-faster/" rel="bookmark" title="OpenLayers Can Be Faster!">OpenLayers Can Be Faster! </a></li>
<li><a href="/2009/03/20/css-color-units/" rel="bookmark" title="CSS color units">CSS color units </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>The ocean is blue!</h2>
<p>Yeah, that should sound OK, because as we all know the ocean is blue, but here I mean the ocean is blue on the maps of <a title="OpenStreetMap" href="http://www.openstreetmap.org/" target="_blank">OpenStreetMap.org</a>. This map uses pre-generated tiles with parts of the world map and using a tool such OpenLayers javascript library you can construct a geo map. The problem is that those tiles are always with blue ocean, as you can see on the picture below:</p>
<div class="mceTemp">
<dl id="attachment_726" class="wp-caption alignnone" style="width: 279px;">
<dt class="wp-caption-dt"><a href="/wp-content/uploads/2009/08/openstreetmap-tile.png"><img class="size-full wp-image-726" title="openstreetmap-tile" src="/wp-content/uploads/2009/08/openstreetmap-tile.png" alt="a openstreetmap tile with part of east asia" width="269" height="273" /></a></dt>
<blockquote>
<dd class="wp-caption-dd">a openstreetmap tile with part of east asia</dd>
</blockquote>
</dl>
</div>
<h2>Well those are generated, how can I change the ocean color?</h2>
<p>There is no way to change it, except you modify the .xml file from which those tiles are generated, but so far I haven&#8217;t done it.</p>
<p>Since I need a vector (thematic) map, such as this on <a title="thematicmapping" href="http://thematicmapping.org/" target="_blank">http://thematicmapping.org/</a> with geoJSON formated borders I noticed that one you&#8217;ve a vector map, there&#8217;s no loading of the tiles and thus &#8211; no blue color of the ocean. You can see an example here:</p>
<p><a href="/wp-content/uploads/2009/08/openlayers-with-white-ocean.png"><img class="alignnone size-full wp-image-727" title="openlayers-with-white-ocean" src="/wp-content/uploads/2009/08/openlayers-with-white-ocean.png" alt="" width="430" height="220" srcset="/wp-content/uploads/2009/08/openlayers-with-white-ocean.png 430w, /wp-content/uploads/2009/08/openlayers-with-white-ocean-300x153.png 300w" sizes="(max-width: 430px) 100vw, 430px" /></a></p>
<p>emq26y57vz</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/06/20/openlayers-disable-mouse-wheel-on-zoom/" rel="bookmark" title="OpenLayers disable mouse wheel on zoom">OpenLayers disable mouse wheel on zoom </a></li>
<li><a href="/2009/08/06/openlayers-vectors-ie-bug/" rel="bookmark" title="OpenLayers vectors IE bug!">OpenLayers vectors IE bug! </a></li>
<li><a href="/2010/03/19/openlayers-can-be-faster/" rel="bookmark" title="OpenLayers Can Be Faster!">OpenLayers Can Be Faster! </a></li>
<li><a href="/2009/03/20/css-color-units/" rel="bookmark" title="CSS color units">CSS color units </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/08/07/change-the-sea-ocean-color-of-openlayers-osm-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
