OpenLayers. Popup. Anchored | |
Constructor | |
OpenLayers. Popup. Anchored | |
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 |
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 )