From bf07dfea5f33c67b006db2817970fd3e8f6b2857 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/doc@1253 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- Marker.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Marker.txt 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. +