OpenSpace Ordnance Survey Mapping API JavaScript Library Version 0.7.2 |
OpenSpace. Layer. MapOverlayInstances of OpenSpace.Layer.MapOverlay are used to display HTML data that scrolls and zooms with the map. The overlay has a given position and size in map units. Inherits fromSummary
position{OpenSpace.MapPoint} Position of the overlay on the map. size{OpenSpace.MapSize} Size of the overlay on the map. |
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 )