OpenLayers JavaScript Mapping Library | Function Index
Deprecated. Add feature to the layer’s selectedFeature array, render the feature as selected, and call the onSelect function. Trigger the appropriate callback if a feature is under the mouse. Called when the select feature control selects a feature. selectUrl() implements the standard floating-point multiplicative hash function described by Knuth, and hashes the contents of the given param string into a float between 0 and 1. Wrapper function around XMLSerializer, which doesn’t exist/work in IE/Safari. Sets the background color of the popup.
Allows user to specify one of the currently-loaded layers as the Map’s new base layer. Allow the user to change the box’s color and border width Sets the border style of the popup. Always sets border to 0. As soon as a baseLayer has been loaded, we center and zoom ...and remove the handler.
Allows the user to set the HTML content of the popup. With each registered browser event, the handler sets its own evt property. Set the visible part of the layer.
Set the renderer’s extent
Move the given layer to the specified (zero-based) index in the layer list, changing its z-index in the map display.
Set the map property for the control. Set the map property for the control. Set the map property for the control and all handlers.
Set the map property for the control and all handlers.
Set the map property for the control. Set the map property for the control.
Set the map property for the layer. Set the map property for the layer. 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.) When the layer is added to a map, then we can fetch our origin (if we don’t have one.) The layer has been added to the map.
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 The map has been centered, and a map type was specified, so we set the map type on the gmap object, then unregister the listener so that we dont keep doing this every time the map moves. Sets the new layer name for this layer. Get the geometry’s bounds, convert it to our vml coordinate system, then set the node’s position, size, and local coordinate system. Change the icon’s opacity Sets the opacity for the entire layer (all images) Change the opacity of the marker by changin the opacity of its icon Sets the opacity of the popup.
Deprecated.
Change the map options Set extent rectangle pixel bounds.
Update RICO corners according to the popup’s current relative postion.
Used to adjust the size of the popup.
Sets the size of the drawing surface. Sets the size of the drawing surface. Set the size of the drawing surface Use to set all the style attributes to a SVG node. Use to set all the style attributes to a VML node. 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.
Set the z-index order for the pane. Shift grid work in the other dimension Shifty grid work Show element(s) passed in Makes the popup visible. Hide/Show all LayerSwitcher controls depending on whether we are minimized or not Hide/Show the toggle depending on whether the control is minimized Starts at the top right corner of the grid and proceeds in a spiral towards the center, adding tiles one at a time to the beginning of a queue.
Test whether a string starts with another string. Deprecated. Stops an event from propagating.
Given the id of an element to stop observing, cycle through the element’s cached observers, calling stopObserving on each one, skipping those entries which can no longer be removed. Transform a string into a JSON 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.
|