OpenLayers JavaScript Mapping Library |
OpenLayers.IconSummary
offset{OpenLayers.Pixel} distance in pixels to offset the image when being rendered calculateOffset{OpenLayers.Pixel} Function to calculate the offset (based on the size) OpenLayers.IconCreates an icon, which is an image tag in a div.
|
nullify references to prevent circular references and memory leaks
destroy: function()
{OpenLayers.Icon} A fresh copy of the icon.
clone: function()
setSize: function( size )
Move the div to the given pixel.
draw: function( px )
Change the icon’s opacity
setOpacity: function( opacity )
move icon to passed in px.
moveTo: function ( px )
Hide or show the icon
display: function( display )