Fix for autoSize popups too big when panMapIntoView is false, r=euzuro,
(Closes #1957) git-svn-id: http://svn.openlayers.org/trunk/openlayers@9092 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -21,6 +21,20 @@ OpenLayers.Popup.Anchored =
|
||||
* {String} Relative position of the popup ("br", "tr", "tl" or "bl").
|
||||
*/
|
||||
relativePosition: null,
|
||||
|
||||
/**
|
||||
* APIProperty: keepInMap
|
||||
* {Boolean} If panMapIfOutOfView is false, and this property is true,
|
||||
* contrain the popup such that it always fits in the available map
|
||||
* space. By default, this is set. If you are creating popups that are
|
||||
* near map edges and not allowing pannning, and especially if you have
|
||||
* a popup which has a fixedRelativePosition, setting this to false may
|
||||
* be a smart thing to do.
|
||||
*
|
||||
* For anchored popups, default is true, since subclasses will
|
||||
* usually want this functionality.
|
||||
*/
|
||||
keepInMap: true,
|
||||
|
||||
/**
|
||||
* Parameter: anchor
|
||||
|
||||
Reference in New Issue
Block a user