<html><body>

<p><span style="font-family: sans-serif; font-size: 16px;"><tt>You're answer definitely lead me in the right direction. Since I'm</tt><br /><tt>using GeoExt, I have to do permalinks in the "GeoExt Way", as it does</tt><br /><tt>it's own variation of set center:</tt><br /><tt></tt><br /><tt><a style="text-decoration: none; color: blue;" href="http://geoext.org/lib/GeoExt/state/PermalinkProvider.html" target="webcit01">http://geoext.org/lib/GeoExt/state/PermalinkProvider.html</a></tt><br /><tt></tt><br /><tt>Thanks for the help!</tt></span></p>
<p> </p>
<blockquote>
<div class="message_header"><span>Wed Mar 02 2011 11:15:04 PM MST</span> <span>from  "yvecai" &lt;yvecai@gmail.com&gt; </span> <span class="message_subject">Subject: Re: [OpenLayers-Users] Permalink seems to not update map</span></div>
<div class="message_content"><tt>On 02. 03. 11 23:13, jfranklin wrote:</tt><br />
<blockquote><tt>I've added a permalink control to my map (via map.addControl(new</tt><br /> <tt>OpenLayers.Control.Permalink())) as shown in the permalink example on</tt><br /> <tt>the openlayers.org website.</tt><br /> <tt></tt><br /> <tt>However, it seems that when I take a copied permalink URL (after zooming</tt><br /> <tt>in a few times etc) and drop it in a different browser, it seems to have</tt><br /> <tt>no effect.  I get the default extent/center/zoom level.</tt><br /> <tt></tt><br /> <tt>The page in question is here:</tt><br /> <tt><a href="http://hmgeo.com/mapping/dev.html" target="webcit01">http://hmgeo.com/mapping/dev.html</a></tt><br /> <tt></tt><br /> <tt>Any ideas?  And thanks in advance for the help.</tt><br /> <tt>_______________________________________________</tt><br /> <tt>Users mailing list</tt><br /> <tt>Users@lists.osgeo.org</tt><br /> <tt><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="webcit01">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a></tt><br /> <tt></tt><br /></blockquote>
<tt>If it helps, usually I add the permalink after calling for map.setCenter </tt><br /> <tt>otherwise it always re-center the map on permalink:</tt><br /> <tt>map.setCenter (lonLat, zoom);</tt><br /> <tt>map.addControl(new OpenLayers.Control.Permalink());</tt><br /> <tt>But I didn't see no setCenter in your code ...</tt><br /> <tt></tt><br /> <tt>Yves</tt><br /> <tt>_______________________________________________</tt><br /> <tt>Users mailing list</tt><br /> <tt>Users@lists.osgeo.org</tt><br /> <tt><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="webcit01">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a></tt><br /> <br /></div>
</blockquote>
<p> </p>
</body></html>