diff --git a/Marker.txt b/Marker.txt new file mode 100644 index 0000000000..c48a509df7 --- /dev/null +++ b/Marker.txt @@ -0,0 +1,15 @@ +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. +