OpenSpace Ordnance Survey Mapping API JavaScript Library Version 0.7.2 |
OpenSpace. Layer. ScreenOverlayInstances of OpenSpace.Layer.ScreenOverlay are used to display HTML data that does not scroll and zooms with the map, but remains fixed to the map window. The overlay has a given position and size in screen units. Summary
position{OpenSpace.ScreenPoint} Position of the overlay on the screen. size{OpenSpace.ScreenSize} Size of the overlay on the screen. setPosition
Set a new position for this overlay. Parameters
setSize
Set a new size for this overlay. Parameters
|
Set new HTML contents for this overlay.
setHTML: function( html )
Set a new position for this overlay.
setPosition: function( px )
Set a new size for this overlay.
setSize: function( size )