OpenLayers JavaScript Mapping Library | Index
{Array} An array of map scales in descending order. {Object} Hash of styles {String} {String} String used to seperate layers. {String}
Allows user to specify one of the currently-loaded layers as the Map’s new base layer.
Move the given layer to the specified (zero-based) index in the layer list, changing its z-index in the map display. Overridden from EventPane because if a map type has been specified, we need to attach a listener for the first moveend -- this is how we will know that the map has been centered.
When the layer is added to a map, then we can fetch our origin (if we don’t have one.) Overridden from EventPane because we need to remove this yahoo event pane which prohibits our drag and drop, and we can only do this once the map has been loaded and centered. Set the mapObject to the specified center and zoom Set the mapObject to the specified center and zoom Set the mapObject to the specified center and zoom Set the mapObject to the specified center and zoom Sets the new layer name for this layer. Sets the opacity for the entire layer (all images)
Change the map options
Set the tile size based on the map size. Check if we are in singleTile mode and if so, set the size as a ratio of the map size (as specified by the layer’s ‘ratio’ property).
Set the visibility flag for the layer and hide/show & redraw accordingly. Set the visibility flag for the layer and hide/show&redraw accordingly. Show element(s) passed in {Integer} Number of sides for the regular polygon. {Boolean} Moves the layer into single-tile mode, meaning that one tile will be loaded. {singleTile} Always true for untiled. {singleTile} Always true for untiled. {OpenLayers.Size} The overvew map size in pixels. Create an instance of OpenLayers.Size Pixels to slide by. {Integer} {Float} If set to a non-zero value, the handler will snap the polygon rotation to multiples of the snapAngle. {String} If set, snapToggle is checked on mouse events and will set the snap mode to the opposite of what it currently is. {String} For “pretty” printing, the space string will be used after the “:” separating a name/value pair. {Boolean} Should the map act as a mercator-projected map? {Boolean} Should the map act as a mercator-projected map? {Boolean} Should the map act as a mercator-projected map? Test whether a string starts with another string. Deprecated. {Object} OpenLayers features can have a number of style attributes. {Object} Default style for the layer {String} This should be overridden by specific subclasses {Boolean} Whether or not the browser supports the SVG renderer Determine whether a browser supports this renderer. Create a text layer. {String} Relative path to a CSS file from which to load theme styles. Constructor for a new OpenLayers.Tile instance. {Integer} 256 Default tile height (unless otherwise specified) {Integer} 256 Default tile width (unless otherwise specified) Create a new read only TileCache layer. {OpenLayers.LonLat} Location of the tile lattice origin. {OpenLayers.Pixel} {OpenLayers.Size} {OpenLayers.Size} Set in the map options to override the default tile size for this map. Creates a new timer under the given name. Stops a timer created by a call to OpenLayers.Console.time(name) and writes the time elapsed. {Array} array of left, bottom, right, top
Toggle the visibility of element(s) passed in {String} Shortened String representation of OpenLayers.LonLat object. {String} String representation of bounds object. Prints an interactive stack trace of JavaScript execution at the point where it is called. Trigger a specified registered event Removes leading and trailing whitespace characters from a string. Deprecated. {GMapType} {?} {VEMapType} {YahooMapType} |