OpenLayers JavaScript Mapping Library | Index
{OpenLayers.Map} this gets set in the addControl() function in OpenLayers.Map {OpenLayers.Map} {OpenLayers.Map} This variable is set when the layer is added to the map, via the accessor function setMap(). {OpenLayers.Map} the map this marker is attached to {OpenLayers.Map} this gets set in Map.js when the popup is added to the map {OpenLayers.Map} Reference to the map -- this is set in Vector’s setMap() Constructor for a new OpenLayers.Map instance. Handle browser events {Object} This is the object which will be used to load the 3rd party library in the case of the google layer, this will be of type GMap, in the case of the ve layer, this will be of type VEMap {Object} An object containing any non-default properties to be sent to the overview map’s map constructor. Create a new MapServer layer object {OpenLayers.Marker}
Array({OpenLayers.Marker}) internal marker list Create a Markers layer. {Integer} 19 {Integer} 17 {Integer} 17 {Integer} 15 {OpenLayers.Bounds} The center of these bounds will not stray outside of the viewport extent during panning. {OpenLayers.Bounds} The maximum extent for the map. Set up the labels and divs for the control Unhide the control. {DOMElement} {Integer} Firefox has a limitation where values larger or smaller than about 15000 in an SVG document lock the browser up. {Float} The ratio of the overview map resolution to the main map resolution at which to zoom farther in on the overview map. {Float} Default max is 360 deg / 256 px, which corresponds to zoom level 0 on gmaps. {Float} Default max is 360 deg / 256 px, which corresponds to zoom level 0 on gmaps. {Float} {Float}
Modify parameters for the layer and redraw. Catch changeParams and uppercase the new params to be merged in before calling changeParams on the super class. {Integer} 0 {Integer} 1 {Integer} 1 {Integer} 0 {OpenLayers.Bounds} {OpenLayers.Bounds} Hide all the contents of the control, shrink the size, add the maximize icon Hide all the contents of the control, shrink the size, add the maximize icon {DOMElement} {Float} The ratio of the overview map resolution to the main map resolution at which to zoom farther out on the overview map. {Float} {Float} {Float} {Float} If set as the keyMask, checkModifiers returns false if Alt is down. If set as the keyMask, checkModifiers returns false if Ctrl is down. If set as the keyMask, checkModifiers returns false if any key is down. If set as the keyMask, checkModifiers returns false if Shift is down.
Modifies many properties of a DOM element all at once. Modify the existing geometry given the new point Modify the existing geometry given the new point Create a new modify feature control. Modify the polygon geometry in place. Handle mousedown events Handle mouse down. Handle mouse down. Handle mouse down. Register a local ‘mouseDown’ flag so that we’ll know whether or not to ignore a mouseUp event {Boolean} The mouse is down
Handle mousemove events Handle mouse moves. Update the stored mousePosition on every move. Handle mouse move. Handle mouse move. Handle mouseout events {OpenLayers.Pixel} mousePosition is necessary because evt.clientX/Y is buggy in Moz on wheel events, so we cache and use the value from the last mousemove. Handle mouseup events Handle mouse up. Handle mouse up. Handle mouse up. If the ‘isMouseDown’ flag has been set, that means that the drag was started from within the LayerSwitcher control, and thus we can ignore the mouseup. Moves a collection in place Moves a collection in place Moves a point in place This method is called during the handling of the mouse move event. Respond to drag move events
Called when the drag handler detects a mouse-move.
Sets the left and top style attributes to the passed in pixel coordinates. move icon to passed in px.
Handle calls to move the layer. If layer is visible and GML has not been loaded, load GML, then load GML and call OpenLayers.Layer.Vector.moveTo() to redraw at the new location. This function is called whenever the map is moved. Create the tile for the image or resize it for the new resolution
Reset the vector layer’s div so that it once again is lined up with the map.
Move the marker to the new location.
Since the popup is moving to a new px, it might need also to be moved relative to where the marker is. The popup may have been moved to a new relative location, in which case we will want to re-do the rico corners. Reposition the tile. Change the location of the slider to match the current zoom level. Given a KML node representing a multigeometry, create an OpenLayers geometry collection. Return an array of linestring arrays from a linestring. Convert a coordinate array from GeoJSON into an OpenLayers.Geometry. Given an OpenLayers multilinestring geometry, create a GML multilinestring. Given a GML node representing a multilinestring geometry, create an OpenLayers multilinestring geometry. Given an OpenLayers multilinestring geometry, create a KML GeometryCollection. Constructor for a MultiLineString Geometry. {Boolean} Allow selection of multiple geometries Return an array of point coordinates from a multipoint. Convert a coordinate array from GeoJSON into an OpenLayers.Geometry. Given an OpenLayers multipoint geometry, create a GML multipoint. Given a GML node representing a multipoint geometry, create an OpenLayers multipoint geometry. Given an OpenLayers multipoint geometry, create a KML GeometryCollection. Create a new MultiPoint Geometry Return an array of polygon arrays from a multipolygon. Convert a coordinate array from GeoJSON into an OpenLayers.Geometry. Given an OpenLayers multipolygon geometry, create a GML multipolygon. Given a GML node representing a multipolygon geometry, create an OpenLayers multipolygon geometry. Given an OpenLayers multipolygon geometry, create a KML GeometryCollection. Create a new MultiPolygon geometry |