OpenLayers.
|
|
Properties | |
keepInMap | {Boolean} If panMapIfOutOfView is false, and this property is true, contrain the popup such that it always fits in the available map space. |
Constructor | |
OpenLayers.
|
|
Functions | |
destroy | |
show | Overridden from Popup since user might hide popup and then show() it in a new location (meaning we might want to update the relative position on the show) |
setSize |
{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.
id | {String} |
lonlat | {OpenLayers.LonLat} |
contentSize | {OpenLayers.Size} |
contentHTML | {String} |
anchor | {Object} Object which must expose a ‘size’ OpenLayers.Size and ‘offset’ OpenLayers.Pixel (generally an OpenLayers.Icon). |
closeBox | {Boolean} |
closeBoxCallback | {Function} Function to be called on closeBox click. |
setSize:function( contentSize )
contentSize | {OpenLayers.Size} the new size for the popup’s contents div (in pixels). |
destroy: function()
Overridden from Popup since user might hide popup and then show() it in a new location (meaning we might want to update the relative position on the show)
show: function()
setSize:function( contentSize )