OpenLayers JavaScript Mapping Library |
OpenLayers. Popup. AnchoredParameters
draw
Parameters
Returns{DOMElement} Reference to a div that contains the drawn popup. calculateRelativePosition
Parameters
Returns{String} The relative position (“br” “tr” “tl “bl”) at which the popup should be placed. moveTo
Since the popup is moving to a new px, it might need also to be moved relative to where the marker is. Parameters
calculateNewPx
Parameters
Returns{OpenLayers.Pixel} The the new px position of the popup on the screen relative to the passed-in px. |
draw: function( px )
calculateRelativePosition:function( px )
Since the popup is moving to a new px, it might need also to be moved relative to where the marker is.
moveTo: function( px )
setSize:function( size )
calculateNewPx:function( px )