Project

General

Profile

1
OpenLayers.Marker
2

    
3
Instantiate class {OpenLayers.Marker} in order to create a marker.
4

    
5
* Constructor
6
  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.
7
  
8
* Methods
9
  onScreen() -- {boolean} -- Returns whether or not the marker is currently visible on screen.
10
  inflate({float}) -- none -- Changes the size of the Icon by a factor of the passed float.
11
  display({string}) -- none -- Sets the style.display property of the Icon.
12

    
13
* Events
14
  Standard browser events are available.
15

    
(27-27/34)