<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: OpenLayers disable dragging</title>
	<atom:link href="http://www.stoimen.com/blog/2009/07/14/openlayers-disable-dragging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stoimen.com/blog/2009/07/14/openlayers-disable-dragging/</link>
	<description>web developing</description>
	<lastBuildDate>Thu, 29 Jul 2010 09:57:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: MartinO</title>
		<link>http://www.stoimen.com/blog/2009/07/14/openlayers-disable-dragging/comment-page-1/#comment-8002</link>
		<dc:creator>MartinO</dc:creator>
		<pubDate>Tue, 03 Nov 2009 20:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=675#comment-8002</guid>
		<description>Thanks Juan Carlos!
That&#039;s exactly what I was looking for...</description>
		<content:encoded><![CDATA[<p>Thanks Juan Carlos!<br />
That&#8217;s exactly what I was looking for&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Carlos</title>
		<link>http://www.stoimen.com/blog/2009/07/14/openlayers-disable-dragging/comment-page-1/#comment-6703</link>
		<dc:creator>Juan Carlos</dc:creator>
		<pubDate>Tue, 20 Oct 2009 22:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=675#comment-6703</guid>
		<description>In order to make an static map with no controls or posibility to move or zoom the map I&#039;ve noticed that some controls need to be disabled but others need to be removed. The code I use to avoid problems is the following:

              map = new OpenLayers.Map(&#039;map&#039;);
		var numcontrol=map.controls.length;
		for (var i = 0; i&lt; numcontrol; i++) {
		  map.controls[0].deactivate();
		  map.removeControl(map.controls[0]);
		}</description>
		<content:encoded><![CDATA[<p>In order to make an static map with no controls or posibility to move or zoom the map I&#8217;ve noticed that some controls need to be disabled but others need to be removed. The code I use to avoid problems is the following:</p>
<p>              map = new OpenLayers.Map(&#8216;map&#8217;);<br />
		var numcontrol=map.controls.length;<br />
		for (var i = 0; i&lt; numcontrol; i++) {<br />
		  map.controls[0].deactivate();<br />
		  map.removeControl(map.controls[0]);<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Carlos</title>
		<link>http://www.stoimen.com/blog/2009/07/14/openlayers-disable-dragging/comment-page-1/#comment-6701</link>
		<dc:creator>Juan Carlos</dc:creator>
		<pubDate>Tue, 20 Oct 2009 21:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.stoimen.com/blog/?p=675#comment-6701</guid>
		<description>This post has been really helpfull. From this I can also see what other map behavior I can disable. thanks</description>
		<content:encoded><![CDATA[<p>This post has been really helpfull. From this I can also see what other map behavior I can disable. thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
