git-svn-id: http://svn.openlayers.org/trunk/openlayers@1253 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
16 lines
705 B
Plaintext
16 lines
705 B
Plaintext
OpenLayers.Marker
|
|
|
|
Instantiate class {OpenLayers.Marker} in order to create a marker.
|
|
|
|
* Constructor
|
|
OpenLayers.Marker({OpenLayers.LonLat|lonlat}, {OpenLayers.Icon|icon}? ) -- Creates a new marker object. This object must be added to a Marker layer and will then be displayed. The icon can be left null -- if this is the case, then the default OpenLayers icon will be used.
|
|
|
|
* Methods
|
|
onScreen() -- {boolean} -- Returns whether or not the marker is currently visible on screen.
|
|
inflate({float}) -- none -- Changes the size of the Icon by a factor of the passed float.
|
|
display({string}) -- none -- Sets the style.display property of the Icon.
|
|
|
|
* Events
|
|
Standard browser events are available.
|
|
|