<?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>VML &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/vml/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>OpenLayers vectors IE bug!</title>
		<link>/2009/08/06/openlayers-vectors-ie-bug/</link>
		<comments>/2009/08/06/openlayers-vectors-ie-bug/#respond</comments>
		<pubDate>Thu, 06 Aug 2009 06:55:19 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[openlayers]]></category>
		<category><![CDATA[openstreetmap]]></category>
		<category><![CDATA[vector]]></category>
		<category><![CDATA[VML]]></category>

		<guid isPermaLink="false">/?p=721</guid>
		<description><![CDATA[OpenLayers and OpenStreetMap If you&#8217;re not familiar with OpenLayers library, in breve this is a JavaScript library which interacts with a tile server such as this of OpenStreetMap.org Vectors Because it&#8217;s JavaScript OpenLayers library it renders different types of vectors when it becomes the case of vectors. It tries the VML way, but as you &#8230; <a href="/2009/08/06/openlayers-vectors-ie-bug/" class="more-link">Continue reading <span class="screen-reader-text">OpenLayers vectors IE bug!</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/02/09/optimizing-openlayers-speed-up-markers-load-time/" rel="bookmark" title="Optimizing OpenLayers. Speed up markers load time!">Optimizing OpenLayers. Speed up markers load time! </a></li>
<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="/2010/09/24/2xjquery-select-a-selector/" rel="bookmark" title="2xjQuery: Select a Selector">2xjQuery: Select a Selector </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>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>OpenLayers and OpenStreetMap</h2>
<p>If you&#8217;re not familiar with <a title="OpenLayers" href="http://www.openlayers.org/" target="_blank">OpenLayers</a> library, in breve this is a JavaScript library which interacts with a tile server such as this of <a title="openstreetmap" href="http://www.openstreetmap.org/" target="_blank">OpenStreetMap.org</a></p>
<p><a href="/wp-content/uploads/2009/08/open-street-map.png"><img class="alignnone size-full wp-image-722" title="open-street-map" src="/wp-content/uploads/2009/08/open-street-map.png" alt="" width="430" height="276" srcset="/wp-content/uploads/2009/08/open-street-map.png 430w, /wp-content/uploads/2009/08/open-street-map-300x192.png 300w" sizes="(max-width: 430px) 100vw, 430px" /></a></p>
<h2>Vectors</h2>
<p>Because it&#8217;s JavaScript OpenLayers library it renders different types of vectors when it becomes the case of vectors. It tries the VML way, but as you may know not every browser support it.  Actually everything works fine in every browser, and that&#8217;s the good part of OpenLayers, which is one of the best JavaScript organized project I&#8217;ve worked with.</p>
<p><img class="alignnone size-full wp-image-723" title="openlayers-vectors" src="/wp-content/uploads/2009/08/openlayers-vectors.png" alt="" width="430" height="253" srcset="/wp-content/uploads/2009/08/openlayers-vectors.png 430w, /wp-content/uploads/2009/08/openlayers-vectors-300x176.png 300w" sizes="(max-width: 430px) 100vw, 430px" /></p>
<p>The problem is that if you&#8217;ve something in the DOM with z-index over the vector layer IE&#8217;s giving problems because as it appears it cannot be rendered.</p>
<blockquote><p>The solution is to draw the layer but skip the .addLayer before the vectors should be seen. You than remove the DOM element, which is over the vector layer you set .setVisibility(true) and the layer appears on the stage.</p>
<p>So far this is the only solution I got, but there may be others.</p></blockquote>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/02/09/optimizing-openlayers-speed-up-markers-load-time/" rel="bookmark" title="Optimizing OpenLayers. Speed up markers load time!">Optimizing OpenLayers. Speed up markers load time! </a></li>
<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="/2010/09/24/2xjquery-select-a-selector/" rel="bookmark" title="2xjQuery: Select a Selector">2xjQuery: Select a Selector </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>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/08/06/openlayers-vectors-ie-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
