From 584bbd59a1adcaaf6d87b5c5ed0a069728440820 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Wed, 16 Aug 2006 18:44:46 +0000 Subject: [PATCH] Document OpenLayers.Marker git-svn-id: http://svn.openlayers.org/trunk/openlayers@1253 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- doc/Marker.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/Marker.txt diff --git a/doc/Marker.txt b/doc/Marker.txt new file mode 100644 index 0000000000..c48a509df7 --- /dev/null +++ b/doc/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. +