From a0cd93cb41c812195c65091488b1d6a33a7fb35e Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 25 Aug 2006 11:55:45 +0000 Subject: [PATCH] Document restriction on when to add permalink control. git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1367 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- doc/Control.Permalink.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Control.Permalink.txt b/doc/Control.Permalink.txt index f696959048..aa0a0b81b2 100644 --- a/doc/Control.Permalink.txt +++ b/doc/Control.Permalink.txt @@ -1,6 +1,6 @@ OpenLayers.Control.Permalink -A small control which updates a "Permalink" to the map every time the viewport changes. This allows users to copy a link to a specfic map view. By default, it places itself in the lower right corner of the map, +A small control which updates a "Permalink" to the map every time the viewport changes. This allows users to copy a link to a specfic map view. By default, it places itself in the lower right corner of the map. This control must be added to the map after a baselayer has been set. * Constructor OpenLayers.Control.Scale({DOMElement|element}?, {String|base}) -- Creates a new permalink control. The DOMElement is used, if passed, as the element on which the 'href' is set. If you prefer to put this link on an element outside of the map, set this element to an anchor element to have its href updated when the map moves. If you wish to make the link go to some other URL (for example, an editing interface rather than the current URL), the 'base' property can be used, to which the ?lat=&lon=&zoom= will be appended after the map has moved.