OpenLayers JavaScript Mapping Library | Function Index
Create new node of the specified type, with the (optional) specified id.
Determine whether a node is of a given type Transform a number into a JSON string. Transform an object into a JSON string.
Parameters px - {OpenLayers.Pixel} Ignore clicks, but allowing default browser handling
Ignore double-clicks, but allowing default browser handling method called after a feature is inserted.
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.
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.
Catch the wheel event and handle it xbrowserly Catch the wheel event and handle it xbrowserly Get the opposite quadrant for a given quadrant string. 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. Calculates the position of an element on the page. Allows user to pan by a value of screen pixels
Finish the panning operation.
Parse the data returned from the Events call.
Convert a feature object from GeoJSON into an OpenLayers.Feature.Vector. This function is the core of the GML parsing code in OpenLayers. This function is the core of the KML parsing code in OpenLayers. Convert a geometry object from GeoJSON into an OpenLayers.Geometry. Parse XML into a doc structure This function is used to pass events that happen on the div, or the map, through to the slider, which then does its moving thing. Return an array of coordinates from a point. Convert a coordinate array from GeoJSON into an OpenLayers.Geometry. Given an OpenLayers point geometry, create a GML point. Given a GML node representing a point geometry, create an OpenLayers point geometry. Given an OpenLayers point geometry, create a KML point. Given a KML node representing a point geometry, create an OpenLayers point geometry. Return an array of linear ring arrays from a polygon. Convert a coordinate array from GeoJSON into an OpenLayers.Geometry. Given an OpenLayers polygon geometry, create a GML polygon. Given a GML node representing a polygon geometry, create an OpenLayers polygon geometry. Given an OpenLayers polygon geometry, create a KML polygon. Given a KML node representing a polygon geometry, create an OpenLayers polygon geometry. method called before a feature is inserted. When passed an xmlNode, parses it for a GML point, and passes back an object describing that point. Turns on the JavaScript profiler. Turns off the JavaScript profiler and prints its report.
Change the index of the given layer by delta. Read data from a string, and return an object whose type depends on the subclass. Deserialize a GeoJSON string. Read data from a string, and return a list of features. Deserialize a json string. Read data from a string, and return a list of features. Deserialize a WKT string and return a vector feature or an array of vector features. Handle browser events Handle browser events Handle browser events Handle browser events Handle browser events Goes through and takes the current state of the Map and rebuilds the control to display that state.
clear the div and start over. Redraws the layer. Refreshes all the features of the layer
Register an event on the events object. register an event on the map Registers events on the popup. Same as register() but adds the new listener to the front of the events queue instead of to the end.
Remove the specified element from the DOM. Remove all listeners for a given event type. Takes a feature, and generates a WFS-T Transaction “Delete” Remove the zoombox from the screen and nullify our reference to it. Remove a component from this geometry. Removes a point from geometry components. Only allows removal of a point if there are three or more points in the linestring. Remove components from this geometry. Remove a control from the map. When the size of the map or the buffer changes, we may need to remove some excess rows and columns.
Remove an object from an array. Removes a layer from the map by removing its visual element (the layer.div property), then removing it from the map’s internal list of layers, setting the layer’s map property to null. Just as setMap() allows each layer the possibility to take a personalized action on being added to the map, removeMap() allows each layer to take a personalized action on being removed from it. On being removed from the map, we’ll like to remove the invisible ‘pane’ div that we added to it on creation.
Wrapper for OpenLayers.Geometry.Collection.removeComponent
Takes a url and removes everything after the ? This function takes a tile as input and removes the tile hooks that were added in addTileMonitoringHooks() This function takes a tile as input and removes the tile hooks that were added in addTileMonitoringHooks() Remove the zoombox from the screen and nullify our reference to it.
Process a failed loading of GML. Process GML after it has been loaded. Called on return from request succcess.
Resize a geometry relative to some origin. Resize a geometry relative to some origin. Resize a point relative to some origin.
{Boolean} {Boolean} Rotate a geometry around some origin Rotate a geometry around some origin Rotate a point around another. |