Document OpenLayers.Icon.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1252 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
9
doc/Icon.txt
Normal file
9
doc/Icon.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
OpenLayers.Icon
|
||||
|
||||
Icon is used as the visual representation of a Marker. Creating such a representation requres up to three parts: An Icon URL, a size, and an offset. The icon URL is a pointer to an image to use as an icon. The size is the size of the image, as an {OpenLayers.Size} object, and the offset is the position of the top left corner of the image in pixels, relative to the latitude and longitude of the Marker.
|
||||
|
||||
* Constructor
|
||||
OpenLayers.Icon({String|url}, {OpenLayers.Size|size}, {OpenLayers.Pixel|offset}) -- creates a new icon.
|
||||
|
||||
* Methods
|
||||
clone() -- {OpenLayers.Icon} -- Create an exact copy of the icon.
|
||||
Reference in New Issue
Block a user