[OpenLayers-Users] How do I manually trigger permalink to
update?
Stephen Woodbridge
woodbri at swoodbridge.com
Fri Apr 17 14:17:35 EDT 2009
Stephen Woodbridge wrote:
> How do I trigger permalink to update its paramaters?
>
> I define my permalink like this:
>
> plink = new OpenLayers.Control.Permalink('permalink',null,
> {'createParams': myCreateArgs});
>
> and the function myCreateArgs() adds some additional parameters to the
> permalink. So when I change one of my parameters, how do I notify the
> premalink control that it needs to update the link.
>
Sigh, to answer my own question, call:
plink.updateLink();
-Steve
More information about the Users
mailing list