OpenLayers JavaScript Mapping Library | Function Index
Creates a geometry object. Private. Return a clone of the relevant geometry. Create a GeoRSS Layer. Calculate the area of this geometry. Calculate the area of this geometry. Calculated by subtracting the areas of the internal holes from the area of the outer hole. Take the pixel locations of the corner of the tile, and pass them to the base layer and ask for the location of those pixels, so that displaying tiles over Google works fine. Get a string representing the components for this collection Get a layer based on its id @param {OpenLayers.Layer} layer Calculate the length of this geometry. Calculate the length of this geometry Private Return: {Int} The number of layers attached to the map. Get the tile size for the map Return a GetMap query string for this layer Writes a message to the console and opens a nested block to indent all future messages sent to the console. Closes the most recently opened block created by a call to OpenLayers.Console.group Basically just a wrapper to the triggerEvent() function, but takes care to set a property ‘xy’ on the event with the current mouse position.
Construct a handler.
Creates an icon, which is an image tag in a div. Create a new image layer Constructor for a new OpenLayers.Tile.Image instance.
Writes a message to the console with the visual “info” icon and color coding and a hyperlink to the line where it was called. Inherit from one or more OpenLayers style classes Creates the imgDiv property on the tile. Determine whether event was caused by a left click. Create a new LineString geometry get the full request string from the ds and the tile params and call the AJAX loadURL(). Log an object in the console. Create a new OpenLayers.LonLat instance Constructor for a new OpenLayers.Map instance.
Create a Markers layer. Private. Handle mousedown events Handle mouse down. Private. Handle mouse down. Handle mousemove events Handle mouse moves. Update the stored mousePosition on every move. Private. Handle mouse move. Handle mouseout events Handle mouseup events Handle mouse up. Private. Handle mouse up. Moves a collection in place Moves a point in place
move icon to passed in px.
Move the marker to the new location.
Reposition the tile. Reposition the tile. Constructor for a MultiLineString Geometry. Create a new MultiPoint Geometry Create a new MultiPolygon geometry
Ignore clicks, but allowing default browser handling Ignore double-clicks, but allowing default browser handling 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 Get the opposite quadrant for a given quadrant string. |