OpenLayers JavaScript Mapping Library | Index {Object} the code object issuing application events Transform an object into a JSON string.
{Object} A hashtable cache of the event observers. {OpenLayers.Pixel} distance in pixels to offset the image when being rendered Parameters px - {OpenLayers.Pixel} {Function} Ignore clicks, but allowing default browser handling
{Function} Define this function if you want to know when a feature is done dragging.
Ignore double-clicks, but allowing default browser handling {Function} Define this function if you want to know about each move of a feature. method called after a feature is inserted.
{String} The color tiles with load errors will turn. Need to update the map accordingly whenever user clicks in either of the layers. This function can be implemented by subclasses
For singleTile layers, this will replace the tile with the a new one with updated tileSize and extent. Notify the renderer of the change in size. Call the onMapResize method of the appropriate parent class.
{Function} Optional function to be called when a feature has been modified. {Function} Optional function to be called when a feature is finished being modified. {Function} Optional function to be called when a feature is selected to be modified. When mouse goes down within the popup, make a note of it locally, and then do not propagate the mousedown (but do so safely so that user can select text inside) If the drag was started within the popup, then do not propagate the mousemove (but do so safely so that user can select text inside) When mouse goes out of the popup set the flag to false so that if they let go and then drag back in, we won’t be confused. When mouse comes up within the popup, after going down in it, reset the flag, and then (once again) do not propagate the event, but do so safely so that user can select text inside {Boolean} Whether or not the feature is currently visible on screen (based on its ‘lonlat’ property)
{Boolean} Whether or not the marker is currently visible on screen. {Boolean} Whether or not the marker is currently visible on screen. {Function} Optional function to be called when a feature is selected. {Function} Define this function if you want to know when a drag starts.
{Function} Optional function to be called when a feature is unselected. Catch the wheel event and handle it xbrowserly Catch the wheel event and handle it xbrowserly {float} the opacity of this popup (between 0.0 and 1.0) The OpenLayers object provides a namespace for all things OpenLayers OpenLayers custom string, number and function functions are described here. {Object} {Object} Instances of this class represent bounding boxes. The OpenLayers.Console namespace is used for debugging and error logging. Controls affect the display or behavior of the map. Add attribution from layers to the map display. Move a feature with a drag. DragPan control. Draws features on a vector layer when active. Control to modify features. This class is DEPRECATED in 2.4 and will be removed by 3.0. The navigation control handles map browsing with mouse events (dragging, double-clicking, and scrolling the wheel). Create an overview map to display the extent of your main map and provide additional navigation control. Display a small scale indicator on the map. Selects vector features from a given layer on click or hover. Imlements a very simple button control. Utility functions for event handling. Features are combinations of geography and attributes. Vector features use the OpenLayers.Geometry classes as geometry description. WFS handling class, for use as a featureClass on the WFS layer for handling ‘point’ WFS types. Base class for format reading/writing a variety of formats. Read and write GeoJSON. Read/write GeoRSS parser. Read/Wite GML. A parser to read/write JSON safely. Read/Wite KML. Read/Write WFS. Class for reading and writing Well-Known Text. Read and write XML. A Geometry is a description of a geographic object. A Collection is exactly what it sounds like: A collection of different Geometries. A Curve is a MultiPoint, whose points are assumed to be connected. A Linear Ring is a special LineString which is closed. A LineString is a Curve which, once two points have been added to it, can never be less than two points long. A MultiLineString is a geometry with multiple OpenLayers.Geometry.LineString components. MultiPoint is a collection of Points. MultiPolygon is a geometry with multiple OpenLayers.Geometry.Polygon components. Point geometry class. Polygon is a collection of Geometry.LinearRings. A Rectangle is a simple geometry. Base class to construct a higher-level handler for event sequences. Handler for dragging a rectangle across the map. The drag handler is used to deal with sequences of browser events related to dragging. Handler to respond to mouse events related to a drawn feature. A handler for keyboard events. Handler for wheel up/down events. Handler to draw a path on the map. Handler to draw a point on the map. Handler to draw a polygon on the map. Handler to draw a regular polygon on the map. The icon represents a graphical icon on the screen. Draw divs as ‘boes’ on the layer. Base class for 3rd party layers. Some Layers will already have established zoom levels (like google or ve). Add GeoRSS Point features to your map. Create a vector layer by parsing a GML file. Base class for layers that use a lattice of tiles. Instances of OpenLayers.Layer.Image are used to display data from a web accessible image as a map layer. Instances of OpenLayers.Layer.MapServer are used to display data from a MapServer CGI instance. Note that MultiMap does not fully support the sphericalMercator option. A mixin for layers that wraps up the pieces neccesary to have a coordinate conversion for working with commercial APIs which use a spherical mercator projection. Tab seperated values file parsing code which creates a markers layer. A read only TileCache layer. Instances of OpenLayers.Layer.Vector are used to render vector data from a variety of sources. Instances of OpenLayers.Layer.WMS are used to display data from OGC Web Mapping Services. This class represents a longitude and latitude pair Instances of OpenLayers.Map are interactive maps embedded in a web page. Instances of OpenLayers.Marker are a combination of a OpenLayers.LonLat and an OpenLayers.Icon. This class represents a screen coordinate, in x and y coordinates A popup is a small div that can opened and closed on the map. This is the base class for all renderers. This is another virtual class in that it should never be instantiated by itself as a Renderer. Render vector features in browsers with VML capability. Instances of this class represent a width/height pair This is a class designed to designate a single tile, however it is explicitly designed to do relatively little. Instances of OpenLayers.Tile.Image are used to manage the image tiles used by various layers. Instances of OpenLayers.Tile.WFS are used to manage the image tiles used by various layers. Get the opposite quadrant for a given quadrant string. {Object} An optional object whose properties will be set on the layer. {OpenLayers.Geometry.Point} Location of the first mouse down This method is called during the handling of the mouse out event. Finish drawing the feature. Called when the feature handler detects a mouse-out on a feature. Called when the feature handler detects a mouse-out on a feature. Called when the feature handler detects a mouse-over on a feature. Called when the feature handler detects a mouse-over on a feature. Create a new overview map {OpenLayers.Map} A reference to the overvew map itself. |