diff --git a/files/OpenLayers-js.html b/files/OpenLayers-js.html index 4ba3e8cd00..0a1cf430c5 100644 --- a/files/OpenLayers-js.html +++ b/files/OpenLayers-js.html @@ -1,34 +1,35 @@ - - -
OpenLayers JavaScript Mapping Library OpenLayers |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
Return the path to this script.
_getScriptLocation: function ()
Return the path to this script.
_getScriptLocation: function ()
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. ClassContains functions to create OpenLayers style classes. Summary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- OpenLayers. BoundsInstances of this class represent bounding boxes. Data stored as left, bottom, right, top floats Summary
OpenLayers. BoundsConstruct a new bounds object. Parameters
Return{OpenLayers.Bounds} A new bounds instance. clone
Create a cloned instance of this bounds. Return{OpenLayers.Bounds} A fresh copy of the bounds equals
Test a two bounds for equivalence Parameters
Return{Boolean} The passed-in OpenLayers.Bounds object has the same left, right, top, bottom components as this. Note that if bounds passed in is null, returns false. oppositeQuadrant
Get the opposite quadrant for a given quadrant string. Parameters
Return{String} The opposing quadrant (“br” “tr” “tl” “bl”). For Example, if you pass in “bl” it returns “tr”, if you pass in “br” it returns “tl”, etc. |
-
-
Create an OpenLayers style class
create: function()
Inherit from one or more OpenLayers style classes
inherit: function ()
Cast this object into a string
toString:function()
Return a clone of this pixel object
clone:function()
Determine whether one pixel is equivalent to another
equals:function( px )
Return the string representation of a size object
toString:function()
Create a clone of this size object
clone:function()
Return a readable string version of the lonlat
toString:function()
Create a cloned instance of this bounds.
clone:function()
Test a two bounds for equivalence
equals:function( bounds )
Get the opposite quadrant for a given quadrant string.
OpenLayers.Bounds.oppositeQuadrant = function( quadrant )
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. ClassContains functions to create OpenLayers style classes. Summary
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OpenLayers. BoundsInstances of this class represent bounding boxes. Data stored as left, bottom, right, top floats Summary
OpenLayers. BoundsConstruct a new bounds object. Parameters
Return{OpenLayers.Bounds} A new bounds instance. clone
Create a cloned instance of this bounds. Return{OpenLayers.Bounds} A fresh copy of the bounds equals
Test a two bounds for equivalence Parameters
Return{Boolean} The passed-in OpenLayers.Bounds object has the same left, right, top, bottom components as this. Note that if bounds passed in is null, returns false. oppositeQuadrant
Get the opposite quadrant for a given quadrant string. Parameters
Return{String} The opposing quadrant (“br” “tr” “tl” “bl”). For Example, if you pass in “bl” it returns “tr”, if you pass in “br” it returns “tl”, etc. |
+
+
Create an OpenLayers style class
create: function()
Inherit from one or more OpenLayers style classes
inherit: function ()
Cast this object into a string
toString:function()
Return a clone of this pixel object
clone:function()
Determine whether one pixel is equivalent to another
equals:function( px )
Return the string representation of a size object
toString:function()
Create a clone of this size object
clone:function()
Return a readable string version of the lonlat
toString:function()
Create a cloned instance of this bounds.
clone:function()
Test a two bounds for equivalence
equals:function( bounds )
Get the opposite quadrant for a given quadrant string.
OpenLayers.Bounds.oppositeQuadrant = function( quadrant )
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. ConsoleThe OpenLayers.Console namespace is used for debugging and error logging. If the Firebug Lite (../Firebug/firebug.js) is included before this script, calls to OpenLayers.Console methods will get redirected to window.console. This makes use of the Firebug extension where available and allows for cross-browser debugging Firebug style. NoteNote that behavior will differ with the Firebug extention and Firebug Lite. Most notably, the Firebug Lite console does not currently allow for hyperlinks to code or for clicking on object to explore their properties. Summary
log
Log an object in the console. The Firebug Lite console logs string representation of objects. Given multiple arguments, they will be cast to strings and logged with a space delimiter. If the first argument is a string with printf-like formatting, subsequent arguments will be used in string substitution. Any additional arguments (beyond the number substituted in a format string) will be appended in a space- delimited line. Examples// Firebug Lite logs someObject.toString() Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
- trace
Prints an interactive stack trace of JavaScript execution at the point where it is called. The stack trace details the functions on the stack, as well as the values that were passed as arguments to each function. You can click each function to take you to its source in the Script tab, and click each argument value to inspect it in the DOM or HTML tabs.
-
-
-
-
-
-
-
-
-
- |
-
-
Log an object in the console.
log: function()
Writes a message to the console, including a hyperlink to the line where it was called.
debug: function()
Writes a message to the console with the visual “info” icon and color coding and a hyperlink to the line where it was called.
info: function()
Writes a message to the console with the visual “warning” icon and color coding and a hyperlink to the line where it was called.
warn: function()
Writes a message to the console with the visual “error” icon and color coding and a hyperlink to the line where it was called.
error: function()
Tests that an expression is true.
assert: function()
Prints an interactive listing of all properties of the object.
dir: function()
Prints the XML source tree of an HTML or XML element.
dirxml: function()
Prints an interactive stack trace of JavaScript execution at the point where it is called.
trace: function()
Writes a message to the console and opens a nested block to indent all future messages sent to the console.
group: function()
Closes the most recently opened block created by a call to OpenLayers.Console.group
groupEnd: function()
Creates a new timer under the given name.
time: function()
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. ConsoleThe OpenLayers.Console namespace is used for debugging and error logging. If the Firebug Lite (../Firebug/firebug.js) is included before this script, calls to OpenLayers.Console methods will get redirected to window.console. This makes use of the Firebug extension where available and allows for cross-browser debugging Firebug style. NoteNote that behavior will differ with the Firebug extention and Firebug Lite. Most notably, the Firebug Lite console does not currently allow for hyperlinks to code or for clicking on object to explore their properties. Summary
log
Log an object in the console. The Firebug Lite console logs string representation of objects. Given multiple arguments, they will be cast to strings and logged with a space delimiter. If the first argument is a string with printf-like formatting, subsequent arguments will be used in string substitution. Any additional arguments (beyond the number substituted in a format string) will be appended in a space- delimited line. Examples// Firebug Lite logs someObject.toString() Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+ trace
Prints an interactive stack trace of JavaScript execution at the point where it is called. The stack trace details the functions on the stack, as well as the values that were passed as arguments to each function. You can click each function to take you to its source in the Script tab, and click each argument value to inspect it in the DOM or HTML tabs.
+
+
+
+
+
+
+
+
+
+ |
+
+
Log an object in the console.
log: function()
Writes a message to the console, including a hyperlink to the line where it was called.
debug: function()
Writes a message to the console with the visual “info” icon and color coding and a hyperlink to the line where it was called.
info: function()
Writes a message to the console with the visual “warning” icon and color coding and a hyperlink to the line where it was called.
warn: function()
Writes a message to the console with the visual “error” icon and color coding and a hyperlink to the line where it was called.
error: function()
Tests that an expression is true.
assert: function()
Prints an interactive listing of all properties of the object.
dir: function()
Prints the XML source tree of an HTML or XML element.
dirxml: function()
Prints an interactive stack trace of JavaScript execution at the point where it is called.
trace: function()
Writes a message to the console and opens a nested block to indent all future messages sent to the console.
group: function()
Closes the most recently opened block created by a call to OpenLayers.Console.group
groupEnd: function()
Creates a new timer under the given name.
time: function()
OpenLayers JavaScript Mapping Library |
+
++ + + + + + + + | + +
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. FormatBase class for format reading/writing a variety of formats. Subclasses of OpenLayers.Format are expected to have read and write methods. Summary
-
-
-
-
-
-
-
-
-
- |
-
-
Read data from a string, and return an object whose type depends on the subclass.
read: function( data )
Accept an object, and return a string.
write: function( object )
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. FormatBase class for format reading/writing a variety of formats. Subclasses of OpenLayers.Format are expected to have read and write methods. Summary
+
+
+
+
+
+
+
+
+
+ |
+
+
Read data from a string, and return an object whose type depends on the subclass.
read: function( data )
Accept an object, and return a string.
write: function( object )
OpenLayers JavaScript Mapping Library |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
OpenLayers JavaScript Mapping Library |
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. Geometry. CollectionA Collection is exactly what it sounds like: A collection of different Geometries. These are stored in the local parameter “components” (which can be passed as a parameter to the constructor). As new geometries are added to the collection, they are NOT cloned. When removing geometries, they need to be specified by reference (ie you have to pass in the exact geometry to be removed). The getArea() and getLength() functions here merely iterate through the components, summing their respective areas and lengths. Inerhits fromSummary
|
-
-
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. Geometry. CollectionA Collection is exactly what it sounds like: A collection of different Geometries. These are stored in the local parameter “components” (which can be passed as a parameter to the constructor). As new geometries are added to the collection, they are NOT cloned. When removing geometries, they need to be specified by reference (ie you have to pass in the exact geometry to be removed). The getArea() and getLength() functions here merely iterate through the components, summing their respective areas and lengths. Inerhits fromSummary
|
+
+
OpenLayers JavaScript Mapping Library |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
OpenLayers JavaScript Mapping Library |
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
OpenLayers JavaScript Mapping Library |
+
+
+
+
+
+ OpenLayers. Geometry. MultiPoint |
+
+
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. Geometry. PointPoint geometry class. Inherits fromSummary
clone
Return{OpenLayers.Geometry.Point} An exact clone of this OpenLayers.Geometry.Point equals
Parameters
Return{Boolean} Boolean value indicating whether the passed-in {OpenLayers.Geometry} object has the same components as this note that if ll passed in is null, returns false
+
+
+
+ |
+
+
{OpenLayers.Geometry.Point} An exact clone of this OpenLayers.Geometry.Point
clone: function( obj )
Create a new Bounds based on the lon/lat
calculateBounds: function ()
distanceTo: function( point )
equals:function( geom )
{String} Shortened String representation of Point object.
toShortString: function()
Moves a point in place
move: function( x, y )
OpenLayers JavaScript Mapping Library |
+
+
+
+
+
+
+
+
+
+ |
+
+
Calculated by subtracting the areas of the internal holes from the area of the outer hole.
getArea: function()
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. LayerSummary
gutter{Integer} Determines the width (in pixels) of the gutter around image tiles to ignore. By setting this property to a non-zero value, images will be requested that are wider and taller than the tile size by a value of 2 x gutter. This allows artifacts of rendering at tile edges to be ignored. Set a gutter value that is equal to half the size of the widest symbol that needs to be displayed. Defaults to zero. Non-tiled layers always have zero gutter.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- clone
Parameters
Return{OpenLayers.Layer} An exact clone of this OpenLayers.Layer |
-
-
Destroy is a destructor: this is to alleviate cyclic references which the Javascript garbage cleaner can not take care of on its own.
destroy: function( setNewBaseLayer )
clone: function ( obj )
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. LayerSummary
gutter{Integer} Determines the width (in pixels) of the gutter around image tiles to ignore. By setting this property to a non-zero value, images will be requested that are wider and taller than the tile size by a value of 2 x gutter. This allows artifacts of rendering at tile edges to be ignored. Set a gutter value that is equal to half the size of the widest symbol that needs to be displayed. Defaults to zero. Non-tiled layers always have zero gutter.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ clone
Parameters
Return{OpenLayers.Layer} An exact clone of this OpenLayers.Layer |
+
+
Destroy is a destructor: this is to alleviate cyclic references which the Javascript garbage cleaner can not take care of on its own.
destroy: function( setNewBaseLayer )
clone: function ( obj )
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. Layer. ImageInstances of OpenLayers.Layer.Image are used to display data from a web accessible image as a map layer. Create a new image layer with the OpenLayers.Layer.Image constructor. Inherits from OpenLayers.Layer. Summary
-
-
-
- extent{OpenLayers.Bounds} The image bounds in map units size{OpenLayers.Size} The image size in pixels OpenLayers. Layer. ImageCreate a new image layer Parameters
-
-
-
-
-
- |
-
-
Destroy this layer
destroy: function()
Create a clone of this layer
clone: function( obj )
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. Layer. ImageInstances of OpenLayers.Layer.Image are used to display data from a web accessible image as a map layer. Create a new image layer with the OpenLayers.Layer.Image constructor. Inherits from OpenLayers.Layer. Summary
+
+
+
+ extent{OpenLayers.Bounds} The image bounds in map units size{OpenLayers.Size} The image size in pixels OpenLayers. Layer. ImageCreate a new image layer Parameters
+
+
+
+
+
+ |
+
+
Destroy this layer
destroy: function()
Create a clone of this layer
clone: function( obj )
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. Layer. VectorInstances of OpenLayers.Layer.Vector are used to render vector data from a variety of sources. Create a new image layer with the OpenLayers.Layer.Vector constructor. Inherits fromSummary
-
-
-
- OpenLayers. Layer. VectorCreate a new vector layer Parameters
Return{OpenLayers.Layer.Vector} A new vector layer |
-
-
Destroy this layer
destroy: function()
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. Layer. VectorInstances of OpenLayers.Layer.Vector are used to render vector data from a variety of sources. Create a new image layer with the OpenLayers.Layer.Vector constructor. Inherits fromSummary
+
+
+
+ OpenLayers. Layer. VectorCreate a new vector layer Parameters
Return{OpenLayers.Layer.Vector} A new vector layer |
+
+
Destroy this layer
destroy: function()
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. Layer.WMSInstances of OpenLayers.Layer.WMS are used to display data from OGC Web Mapping Services. Create a new WMS layer with the OpenLayers.Layer.WMS constructor. Inherits from
Summary
-
-
-
- OpenLayers. Layer.WMSCreate a new WMS layer object ExampleParameters
ReturnA new OpenLayers.Layer.WMS instance clone
Create a clone of this layer Return{OpenLayers.Layer.WMS} An exact clone of this layer getURL
Return a GetMap query string for this layer Parameters
Return{String} A string with the layer’s url and parameters and also the passed-in bounds and appropriate tile size specified as parameters |
-
-
Destroy this layer
destroy: function()
Create a clone of this layer
clone: function ( obj )
Return a GetMap query string for this layer
getURL: function ( bounds )
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. Layer.WMSInstances of OpenLayers.Layer.WMS are used to display data from OGC Web Mapping Services. Create a new WMS layer with the OpenLayers.Layer.WMS constructor. Inherits from
Summary
+
+
+
+ OpenLayers. Layer.WMSCreate a new WMS layer object ExampleParameters
ReturnA new OpenLayers.Layer.WMS instance clone
Create a clone of this layer Return{OpenLayers.Layer.WMS} An exact clone of this layer getURL
Return a GetMap query string for this layer Parameters
Return{String} A string with the layer’s url and parameters and also the passed-in bounds and appropriate tile size specified as parameters |
+
+
Destroy this layer
destroy: function()
Create a clone of this layer
clone: function ( obj )
Return a GetMap query string for this layer
getURL: function ( bounds )
OpenLayers JavaScript Mapping Library |
-
-OpenLayers.MapInstances of OpenLayers.Map are interactive maps embedded in a web page. Create a new map with the OpenLayers.Map constructor. Summary
-
-
-
- size{OpenLayers.Size} Size of the main div (this.div) layerContainerOrigin{OpenLayers.LonLat} The lonlat at which the later container was re-initialized (on-zoom) layers{Array(OpenLayers.Layer)} Ordered list of layers in the map
-
- center{OpenLayers.LonLat} The current center of the map viewRequestID{String} Used to store a unique identifier that changes when the map view changes. viewRequestID should be used when adding data asynchronously to the map: viewRequestID is incremented when you initiate your request (right now during changing of baselayers and changing of zooms). It is stored here in the map and also in the data that will be coming back asynchronously. Before displaying this data on request completion, we check that the viewRequestID of the data is still the same as that of the map. Fix for #480 tileSize{OpenLayers.Size} Set in the map options to override the default tile size for this map.
-
-
-
-
-
-
-
-
-
-
-
- maxExtent{OpenLayers.Bounds} The maximum extent for the map. Defaults to the whole world in decimal degrees (-180, -90, 180, 90). Specify a different extent in the map options if you are not using a geographic projection and displaying the whole world.
-
-
-
-
-
- OpenLayers.MapConstructor for a new OpenLayers.Map instance. Parameters
Examples// create a map with default options in an element with the id "map1" ReturnA new OpenLayers.Map instance
-
-
-
- getLayer
Get a layer based on its id Parameter
Return{OpenLayers.Layer} The Layer with the corresponding id from the map’s layer collection, or null if not found. |
-
-
Destroy this map
destroy:function()
Change the map options
setOptions: function( options )
Get the tile size for the map
getTileSize: function()
Get a layer based on its id
getLayer: function( id )
OpenLayers JavaScript Mapping Library |
+
+OpenLayers.MapInstances of OpenLayers.Map are interactive maps embedded in a web page. Create a new map with the OpenLayers.Map constructor. Summary
+
+
+
+ size{OpenLayers.Size} Size of the main div (this.div) layerContainerOrigin{OpenLayers.LonLat} The lonlat at which the later container was re-initialized (on-zoom) layers{Array(OpenLayers.Layer)} Ordered list of layers in the map
+
+ center{OpenLayers.LonLat} The current center of the map viewRequestID{String} Used to store a unique identifier that changes when the map view changes. viewRequestID should be used when adding data asynchronously to the map: viewRequestID is incremented when you initiate your request (right now during changing of baselayers and changing of zooms). It is stored here in the map and also in the data that will be coming back asynchronously. Before displaying this data on request completion, we check that the viewRequestID of the data is still the same as that of the map. Fix for #480 tileSize{OpenLayers.Size} Set in the map options to override the default tile size for this map.
+
+
+
+
+
+
+
+
+
+
+
+ maxExtent{OpenLayers.Bounds} The maximum extent for the map. Defaults to the whole world in decimal degrees (-180, -90, 180, 90). Specify a different extent in the map options if you are not using a geographic projection and displaying the whole world.
+
+
+
+
+
+ OpenLayers.MapConstructor for a new OpenLayers.Map instance. Parameters
Examples// create a map with default options in an element with the id "map1" ReturnA new OpenLayers.Map instance
+
+
+
+ getLayer
Get a layer based on its id Parameter
Return{OpenLayers.Layer} The Layer with the corresponding id from the map’s layer collection, or null if not found. |
+
+
Destroy this map
destroy:function()
Change the map options
setOptions: function( options )
Get the tile size for the map
getTileSize: function()
Get a layer based on its id
getLayer: function( id )
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. MarkerInstances of OpenLayers.Marker are a combination of a OpenLayers.LonLat and an <OpenLayers.Icon>. Summary
lonlat{OpenLayers.LonLat} location of object OpenLayers. MarkerParaemeters
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
Calls draw on the icon, and returns that output.
draw: function( px )
Move the marker to the new location.
moveTo: function ( px )
{Boolean} Whether or not the marker is currently visible on screen.
onScreen:function()
inflate: function( inflate )
Change the opacity of the marker by changin the opacity of its icon
setOpacity: function( opacity )
Hide or show the icon
display: function( display )
Creates a default OpenLayers.Icon.
OpenLayers.Marker.defaultIcon = function()
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. MarkerInstances of OpenLayers.Marker are a combination of a OpenLayers.LonLat and an <OpenLayers.Icon>. Summary
lonlat{OpenLayers.LonLat} location of object OpenLayers. MarkerParaemeters
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
Calls draw on the icon, and returns that output.
draw: function( px )
Move the marker to the new location.
moveTo: function ( px )
{Boolean} Whether or not the marker is currently visible on screen.
onScreen:function()
inflate: function( inflate )
Change the opacity of the marker by changin the opacity of its icon
setOpacity: function( opacity )
Hide or show the icon
display: function( display )
Creates a default OpenLayers.Icon.
OpenLayers.Marker.defaultIcon = function()
OpenLayers JavaScript Mapping Library |
-
-OpenLayers.TileThis is a class designed to designate a single tile, however it is explicitly designed to do relatively little. Tiles store information about themselves -- such as the URL that they are related to, and their size - but do not add themselves to the layer div automatically, for example. Create a new tile with the OpenLayers.Tile constructor, or a subclass.
Summary
layer{OpenLayers.Layer} layer the tile is attached to
-
- bounds{OpenLayers.Bounds} null size{OpenLayers.Size} null OpenLayers.TileConstructor for a new OpenLayers.Tile instance. Parameters
-
-
-
-
-
- getBoundsFromBaseLayer
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. Parameters
Return
|
-
-
nullify references to prevent circular references and memory leaks
destroy:function()
Clear out existing tile, and return whether to draw or not.
draw:function()
Reposition the tile.
moveTo: function ( bounds, position, redraw )
Clear the tile of any bounds/position-related data so that it can be reused in a new location.
clear: function()
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.
getBoundsFromBaseLayer: function( position )
OpenLayers JavaScript Mapping Library |
+
+OpenLayers.TileThis is a class designed to designate a single tile, however it is explicitly designed to do relatively little. Tiles store information about themselves -- such as the URL that they are related to, and their size - but do not add themselves to the layer div automatically, for example. Create a new tile with the OpenLayers.Tile constructor, or a subclass.
Summary
layer{OpenLayers.Layer} layer the tile is attached to
+
+ bounds{OpenLayers.Bounds} null size{OpenLayers.Size} null OpenLayers.TileConstructor for a new OpenLayers.Tile instance. Parameters
+
+
+
+
+
+ getBoundsFromBaseLayer
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. Parameters
Return
|
+
+
nullify references to prevent circular references and memory leaks
destroy:function()
Clear out existing tile, and return whether to draw or not.
draw:function()
Reposition the tile.
moveTo: function ( bounds, position, redraw )
Clear the tile of any bounds/position-related data so that it can be reused in a new location.
clear: function()
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.
getBoundsFromBaseLayer: function( position )
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. Tile. ImageInstances of OpenLayers.Tile.Image are used to manage the image tiles used by various layers. Create a new image tile with the OpenLayers.Tile.Image constructor. Inherits from OpenLayers.Tile. Summary
-
-
-
- OpenLayers. Tile. ImageConstructor for a new OpenLayers.Tile.Image instance. Parameters
-
-
-
-
-
-
-
- checkImgURL
Make sure that the image that just loaded is the one this tile is meant to display, since panning/zooming might have changed the tile’s URL in the meantime. If the tile URL did change before the image loaded, set the imgDiv display to ‘none’, as either (a) it will be reset to visible when the new URL loads in the image, or (b) we don’t want to display this tile after all because its new bounds are outside our maxExtent. This function should no longer be neccesary with the improvements to Grid.js in OpenLayers 2.3. The lack of a good isEquivilantURL function caused problems in 2.2, but it’s possible that with the improved isEquivilant URL function, this might be neccesary at some point. See discussion in the thread at http://openlayers.org- /pipermail- /dev- /2007-January- /000205.html @private |
-
-
nullify references to prevent circular references and memory leaks
destroy: function()
Check that a tile should be drawn, and draw it.
draw:function()
Clear the tile of any bounds/position-related data so that it can be reused in a new location.
clear: function()
Reposition the tile.
moveTo: function ( bounds, position, redraw )
Creates the imgDiv property on the tile.
initImgDiv: function()
Make sure that the image that just loaded is the one this tile is meant to display, since panning/zooming might have changed the tile’s URL in the meantime.
checkImgURL: function ()
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. Tile. ImageInstances of OpenLayers.Tile.Image are used to manage the image tiles used by various layers. Create a new image tile with the OpenLayers.Tile.Image constructor. Inherits from OpenLayers.Tile. Summary
+
+
+
+ OpenLayers. Tile. ImageConstructor for a new OpenLayers.Tile.Image instance. Parameters
+
+
+
+
+
+
+
+ checkImgURL
Make sure that the image that just loaded is the one this tile is meant to display, since panning/zooming might have changed the tile’s URL in the meantime. If the tile URL did change before the image loaded, set the imgDiv display to ‘none’, as either (a) it will be reset to visible when the new URL loads in the image, or (b) we don’t want to display this tile after all because its new bounds are outside our maxExtent. This function should no longer be neccesary with the improvements to Grid.js in OpenLayers 2.3. The lack of a good isEquivilantURL function caused problems in 2.2, but it’s possible that with the improved isEquivilant URL function, this might be neccesary at some point. See discussion in the thread at http://openlayers.org- /pipermail- /dev- /2007-January- /000205.html @private |
+
+
nullify references to prevent circular references and memory leaks
destroy: function()
Check that a tile should be drawn, and draw it.
draw:function()
Clear the tile of any bounds/position-related data so that it can be reused in a new location.
clear: function()
Reposition the tile.
moveTo: function ( bounds, position, redraw )
Creates the imgDiv property on the tile.
initImgDiv: function()
Make sure that the image that just loaded is the one this tile is meant to display, since panning/zooming might have changed the tile’s URL in the meantime.
checkImgURL: function ()
OpenLayers JavaScript Mapping Library |
-
-OpenLayers. Tile.WFSInstances of OpenLayers.Tile.WFS are used to manage the image tiles used by various layers. Create a new image tile with the OpenLayers.Tile.WFS constructor. Inherits from OpenLayers.Tile. Summary
OpenLayers. Tile.WFSConstructor for a new OpenLayers.Tile.WFS instance. Parameters
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
nullify references to prevent circular references and memory leaks
destroy: function()
Clear the tile of any bounds/position-related data so that it can be reused in a new location.
clear: function()
Check that a tile should be drawn, and load features for it.
draw:function()
get the full request string from the ds and the tile params and call the AJAX loadURL().
loadFeaturesForRegion:function( success, failure )
Called on return from request succcess.
requestSuccess:function( request )
Construct new feature via layer featureClass constructor, and add to this.features.
addResults: function( results )
Iterate through and call destroy() on each feature, removing it from the local array
destroyAllFeatures: function()
OpenLayers JavaScript Mapping Library |
+
+OpenLayers. Tile.WFSInstances of OpenLayers.Tile.WFS are used to manage the image tiles used by various layers. Create a new image tile with the OpenLayers.Tile.WFS constructor. Inherits from OpenLayers.Tile. Summary
OpenLayers. Tile.WFSConstructor for a new OpenLayers.Tile.WFS instance. Parameters
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
nullify references to prevent circular references and memory leaks
destroy: function()
Clear the tile of any bounds/position-related data so that it can be reused in a new location.
clear: function()
Check that a tile should be drawn, and load features for it.
draw:function()
get the full request string from the ds and the tile params and call the AJAX loadURL().
loadFeaturesForRegion:function( success, failure )
Called on return from request succcess.
requestSuccess:function( request )
Construct new feature via layer featureClass constructor, and add to this.features.
addResults: function( results )
Iterate through and call destroy() on each feature, removing it from the local array
destroyAllFeatures: function()
OpenLayers JavaScript Mapping Library | Class Index
The OpenLayers object provides a namespace for all things OpenLayers Instances of this class represent bounding boxes. Contains functions to create OpenLayers style classes. The OpenLayers.Console namespace is used for debugging and error logging. Base class for format reading/writing a variety of formats. A Geometry is a description of a geographic object. A Collection is exactly what it sounds like: A collection of different Geometries. A MultiLineString is a collection of LineStrings. Instances of OpenLayers.Layer.Image are used to display data from a web accessible image as a map layer. Instances of OpenLayers.Layer.Vector are used to render vector data from a variety of sources. Instances of OpenLayers.Layer.WMS are used to display data from OGC Web Mapping Services. This class represents a longitude and latitude pair Instances of OpenLayers.Map are interactive maps embedded in a web page. Instances of OpenLayers.Marker are a combination of a OpenLayers.LonLat and an OpenLayers.Icon. This class represents a screen coordinate, in x and y coordinates Instances of this class represent a width/height pair This is a class designed to designate a single tile, however it is explicitly designed to do relatively little. Instances of OpenLayers.Tile.Image are used to manage the image tiles used by various layers. Instances of OpenLayers.Tile.WFS are used to manage the image tiles used by various layers. |
OpenLayers JavaScript Mapping Library | Class Index
The OpenLayers object provides a namespace for all things OpenLayers Classes in OpenLayers: Instances of this class represent bounding boxes. Contains functions to create OpenLayers style classes. The OpenLayers.Console namespace is used for debugging and error logging. Base class for format reading/writing a variety of formats. A Geometry is a description of a geographic object. A Collection is exactly what it sounds like: A collection of different Geometries. A MultiLineString is a collection of LineStrings. MultiPoint is a collection of Points. Point geometry class. Polygon is a collection of Geometry.LinearRings. Instances of OpenLayers.Layer.Image are used to display data from a web accessible image as a map layer. Instances of OpenLayers.Layer.Vector are used to render vector data from a variety of sources. Instances of OpenLayers.Layer.WMS are used to display data from OGC Web Mapping Services. This class represents a longitude and latitude pair Instances of OpenLayers.Map are interactive maps embedded in a web page. Instances of OpenLayers.Marker are a combination of a OpenLayers.LonLat and an OpenLayers.Icon. This class represents a screen coordinate, in x and y coordinates Instances of this class represent a width/height pair This is a class designed to designate a single tile, however it is explicitly designed to do relatively little. Instances of OpenLayers.Tile.Image are used to manage the image tiles used by various layers. Instances of OpenLayers.Tile.WFS are used to manage the image tiles used by various layers. |
OpenLayers JavaScript Mapping Library | Constant Index
{String} OpenLayers.Format Name of class. {String} OpenLayers.Layer.Image {String} OpenLayers.Layer.Vector {String} OpenLayers.Layer.WMS {String} OpenLayers.Map {Object} Hashtable of default parameter key/value pairs {Array} supported application event types {Integer} 256 {Integer} 256 {Object} Base z-indexes for different classes of thing |
OpenLayers JavaScript Mapping Library | Constant Index
{String} OpenLayers.Format Name of class. {String} OpenLayers.Layer.Image {String} OpenLayers.Layer.Vector {String} OpenLayers.Layer.WMS {String} OpenLayers.Map {Object} Hashtable of default parameter key/value pairs {Array} supported application event types {Integer} 256 {Integer} 256 {Object} Base z-indexes for different classes of thing |
OpenLayers JavaScript Mapping Library | File Index
|
OpenLayers JavaScript Mapping Library | Function Index
Return the path to this script. Construct new feature via layer featureClass constructor, and add to this.features. Tests that an expression is true. Construct a new bounds object. Make sure that the image that just loaded is the one this tile is meant to display, since panning/zooming might have changed the tile’s URL in the meantime. Clear the tile of any bounds/position-related data so that it can be reused in a new location. Clear the tile of any bounds/position-related data so that it can be reused in a new location. Clear the tile of any bounds/position-related data so that it can be reused in a new location. Create a cloned instance of this bounds.
Create a clone of this layer Create a clone of this layer Return a clone of this pixel object Create a clone of this size object Creates a Geometry Collection -- a list of geoms. Create an OpenLayers style class Writes a message to the console, including a hyperlink to the line where it was called. Creates a default OpenLayers.Icon. Destroy is a destructor: this is to alleviate cyclic references which the Javascript garbage cleaner can not take care of on its own. Destroy this layer Destroy this layer Destroy this layer Destroy this map nullify references to prevent circular references and memory leaks nullify references to prevent circular references and memory leaks nullify references to prevent circular references and memory leaks Iterate through and call destroy() on each feature, removing it from the local array Prints an interactive listing of all properties of the object. Prints the XML source tree of an HTML or XML element. Hide or show the icon Calls draw on the icon, and returns that output. Clear out existing tile, and return whether to draw or not. Check that a tile should be drawn, and draw it. Check that a tile should be drawn, and load features for it. Test a two bounds for equivalence Determine whether one pixel is equivalent to another Writes a message to the console with the visual “error” icon and color coding and a hyperlink to the line where it was called. Instances of this class are not useful. Creates a geometry object. 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 layer based on its id 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 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. 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. Move the marker to the new location. Reposition the tile. Reposition the tile. Constructor for a MultiLineString Geometry. {Boolean} Whether or not the marker is currently visible on screen. Get the opposite quadrant for a given quadrant string. Create a new OpenLayers.Pixel instance Read data from a string, and return an object whose type depends on the subclass. Called on return from request succcess. Change the opacity of the marker by changin the opacity of its icon Change the map options Create an instance of OpenLayers.Size Constructor for a new OpenLayers.Tile instance. Creates a new timer under the given name. Return a readable string version of the lonlat Cast this object into a string Return the string representation of a size object Prints an interactive stack trace of JavaScript execution at the point where it is called. Function that is called to destroy the map on page unload. Create a new vector layer Writes a message to the console with the visual “warning” icon and color coding and a hyperlink to the line where it was called. Constructor for a new OpenLayers.Tile.WFS instance. Create a new WMS layer object Accept an object, and return a string. |
OpenLayers JavaScript Mapping Library | Function Index
Return the path to this script. Construct new feature via layer featureClass constructor, and add to this.features. Tests that an expression is true. Construct a new bounds object. Create a new Bounds based on the lon/lat Make sure that the image that just loaded is the one this tile is meant to display, since panning/zooming might have changed the tile’s URL in the meantime. Clear the tile of any bounds/position-related data so that it can be reused in a new location. Clear the tile of any bounds/position-related data so that it can be reused in a new location. Clear the tile of any bounds/position-related data so that it can be reused in a new location. Create a cloned instance of this bounds. {OpenLayers.Geometry.Point} An exact clone of this OpenLayers.Geometry.Point
Create a clone of this layer Create a clone of this layer Return a clone of this pixel object Create a clone of this size object Creates a Geometry Collection -- a list of geoms. Create an OpenLayers style class Writes a message to the console, including a hyperlink to the line where it was called. Creates a default OpenLayers.Icon. Destroy is a destructor: this is to alleviate cyclic references which the Javascript garbage cleaner can not take care of on its own. Destroy this layer Destroy this layer Destroy this layer Destroy this map nullify references to prevent circular references and memory leaks nullify references to prevent circular references and memory leaks nullify references to prevent circular references and memory leaks Iterate through and call destroy() on each feature, removing it from the local array Prints an interactive listing of all properties of the object. Prints the XML source tree of an HTML or XML element. Hide or show the icon
Calls draw on the icon, and returns that output. Clear out existing tile, and return whether to draw or not. Check that a tile should be drawn, and draw it. Check that a tile should be drawn, and load features for it. Test a two bounds for equivalence
Determine whether one pixel is equivalent to another Writes a message to the console with the visual “error” icon and color coding and a hyperlink to the line where it was called. Instances of this class are not useful. Creates a geometry object. 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 layer based on its id 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 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. 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. Moves a point in place Move the marker to the new location. Reposition the tile. Reposition the tile. Constructor for a MultiLineString Geometry. Create a new MultiPoint Geometry {Boolean} Whether or not the marker is currently visible on screen. Get the opposite quadrant for a given quadrant string. Create a new OpenLayers.Pixel instance Construct a point geometry. Constructor for a Polygon geometry. Read data from a string, and return an object whose type depends on the subclass. Called on return from request succcess. Change the opacity of the marker by changin the opacity of its icon Change the map options Create an instance of OpenLayers.Size |
OpenLayers JavaScript Mapping Library | Function Index
Constructor for a new OpenLayers.Tile instance. Creates a new timer under the given name. {String} Shortened String representation of Point object. Return a readable string version of the lonlat Cast this object into a string Return the string representation of a size object Prints an interactive stack trace of JavaScript execution at the point where it is called. Function that is called to destroy the map on page unload. Create a new vector layer Writes a message to the console with the visual “warning” icon and color coding and a hyperlink to the line where it was called. Constructor for a new OpenLayers.Tile.WFS instance. Create a new WMS layer object Accept an object, and return a string. |
OpenLayers JavaScript Mapping Library | Index
Return the path to this script. {String} Relative path of this script. Construct new feature via layer featureClass constructor, and add to this.features. {Number} The ratio of height/width represented by a single pixel in the graphic Tests that an expression is true. {Number} {OpenLayers.Bounds} {OpenLayers.Bounds} null Construct a new bounds object. {OpenLayers.LonLat} The current center of the map Make sure that the image that just loaded is the one this tile is meant to display, since panning/zooming might have changed the tile’s URL in the meantime. {String} OpenLayers.Format Name of class. {String} OpenLayers.Layer.Image {String} OpenLayers.Layer.Vector {String} OpenLayers.Layer.WMS {String} OpenLayers.Map Clear the tile of any bounds/position-related data so that it can be reused in a new location. Clear the tile of any bounds/position-related data so that it can be reused in a new location. Clear the tile of any bounds/position-related data so that it can be reused in a new location. Create a cloned instance of this bounds.
Create a clone of this layer Create a clone of this layer Return a clone of this pixel object Create a clone of this size object Creates a Geometry Collection -- a list of geoms. {Array(OpenLayers.Control)} List of controls associated with the map Create an OpenLayers style class Writes a message to the console, including a hyperlink to the line where it was called. {Object} Hashtable of default parameter key/value pairs Creates a default OpenLayers.Icon. Destroy is a destructor: this is to alleviate cyclic references which the Javascript garbage cleaner can not take care of on its own. Destroy this layer Destroy this layer Destroy this layer Destroy this map nullify references to prevent circular references and memory leaks nullify references to prevent circular references and memory leaks nullify references to prevent circular references and memory leaks Iterate through and call destroy() on each feature, removing it from the local array Prints an interactive listing of all properties of the object. Prints the XML source tree of an HTML or XML element. Hide or show the icon {Boolean} Request map tiles that are completely outside of the max extent for this layer. {DOMElement} The element that contains the map Calls draw on the icon, and returns that output. Clear out existing tile, and return whether to draw or not. Check that a tile should be drawn, and draw it. Check that a tile should be drawn, and load features for it. {Boolean} false Test a two bounds for equivalence Determine whether one pixel is equivalent to another Writes a message to the console with the visual “error” icon and color coding and a hyperlink to the line where it was called. {Array} supported application event types {OpenLayers.Events} An events object that handles all events on the map {OpenLayers.Events} {OpenLayers.Bounds} The image bounds in map units {Boolean} Should OpenLayers allow events on the map to fall through to other elements on the page, or should it swallow them? {Array(OpenLayers.Feature)} list of features in this tile Instances of this class are not useful. {DOMElement} The image element is appended to the frame. Creates a geometry object. 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 layer based on its id 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 {Integer} Determines the width (in pixels) of the gutter around image tiles to ignore. {Number} height {OpenLayers.Icon} {String} Unique identifier for the map {String} null Create a new image layer Constructor for a new OpenLayers.Tile.Image instance. {DOMElement} The div element which wraps the image.
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. {Boolean} The layer is a base layer. {Boolean} The layer is a base layer. {OpenLayers.Layer} layer the tile is attached to {HTMLDivElement} The element that contains the layers. {OpenLayers.LonLat} The lonlat at which the later container was re-initialized (on-zoom) {Array(OpenLayers.Layer)} Ordered list of layers in the map {Number} get the full request string from the ds and the tile params and call the AJAX loadURL(). Log an object in the console. {OpenLayers.LonLat} location of object Create a new OpenLayers.LonLat instance |
OpenLayers JavaScript Mapping Library | Index
Return the path to this script. {String} Relative path of this script. {boolean} null Construct new feature via layer featureClass constructor, and add to this.features. {Number} The ratio of height/width represented by a single pixel in the graphic Tests that an expression is true. {Number} {OpenLayers.Bounds} {OpenLayers.Bounds} null Construct a new bounds object. Create a new Bounds based on the lon/lat {OpenLayers.LonLat} The current center of the map Make sure that the image that just loaded is the one this tile is meant to display, since panning/zooming might have changed the tile’s URL in the meantime. {String} OpenLayers.Format Name of class. {String} OpenLayers.Layer.Image {String} OpenLayers.Layer.Vector {String} OpenLayers.Layer.WMS {String} OpenLayers.Map Clear the tile of any bounds/position-related data so that it can be reused in a new location. Clear the tile of any bounds/position-related data so that it can be reused in a new location. Clear the tile of any bounds/position-related data so that it can be reused in a new location. Create a cloned instance of this bounds. {OpenLayers.Geometry.Point} An exact clone of this OpenLayers.Geometry.Point
Create a clone of this layer Create a clone of this layer Return a clone of this pixel object Create a clone of this size object Creates a Geometry Collection -- a list of geoms. {Array(OpenLayers.Control)} List of controls associated with the map Create an OpenLayers style class Writes a message to the console, including a hyperlink to the line where it was called. {Object} Hashtable of default parameter key/value pairs Creates a default OpenLayers.Icon. Destroy is a destructor: this is to alleviate cyclic references which the Javascript garbage cleaner can not take care of on its own. Destroy this layer Destroy this layer Destroy this layer Destroy this map nullify references to prevent circular references and memory leaks nullify references to prevent circular references and memory leaks nullify references to prevent circular references and memory leaks Iterate through and call destroy() on each feature, removing it from the local array Prints an interactive listing of all properties of the object. Prints the XML source tree of an HTML or XML element. Hide or show the icon {Boolean} Request map tiles that are completely outside of the max extent for this layer.
{DOMElement} The element that contains the map Calls draw on the icon, and returns that output. Clear out existing tile, and return whether to draw or not. Check that a tile should be drawn, and draw it. Check that a tile should be drawn, and load features for it. {Boolean} false Test a two bounds for equivalence
Determine whether one pixel is equivalent to another Writes a message to the console with the visual “error” icon and color coding and a hyperlink to the line where it was called. {Array} supported application event types {OpenLayers.Events} An events object that handles all events on the map {OpenLayers.Events} {OpenLayers.Bounds} The image bounds in map units {Boolean} Should OpenLayers allow events on the map to fall through to other elements on the page, or should it swallow them? {Array(OpenLayers.Feature)} list of features in this tile Instances of this class are not useful. {DOMElement} The image element is appended to the frame. Creates a geometry object. 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 layer based on its id 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 {Integer} Determines the width (in pixels) of the gutter around image tiles to ignore. {Number} height {OpenLayers.Handler} null |
OpenLayers JavaScript Mapping Library | Index
{OpenLayers.Map} Constructor for a new OpenLayers.Map instance. {OpenLayers.Bounds} {OpenLayers.Bounds} The maximum extent for the map. {Number} Default max is 360 deg / 256 px, which corresponds to zoom level 0 on gmaps. {Number} Default max is 360 deg / 256 px, which corresponds to zoom level 0 on gmaps. {Number} {Number} {OpenLayers.Bounds} {OpenLayers.Bounds} {Number} {Number} {Number} Move the marker to the new location. Reposition the tile. Reposition the tile. Constructor for a MultiLineString Geometry. {Integer} {Integer} Number of zoom levels for the map. {Boolean} Whether or not the marker is currently visible on screen. The OpenLayers object provides a namespace for all things OpenLayers Instances of this class represent bounding boxes. Contains functions to create OpenLayers style classes. The OpenLayers.Console namespace is used for debugging and error logging. Base class for format reading/writing a variety of formats. A Geometry is a description of a geographic object. A Collection is exactly what it sounds like: A collection of different Geometries. A MultiLineString is a collection of LineStrings. Instances of OpenLayers.Layer.Image are used to display data from a web accessible image as a map layer. Instances of OpenLayers.Layer.Vector are used to render vector data from a variety of sources. Instances of OpenLayers.Layer.WMS are used to display data from OGC Web Mapping Services. This class represents a longitude and latitude pair Instances of OpenLayers.Map are interactive maps embedded in a web page. Instances of OpenLayers.Marker are a combination of a OpenLayers.LonLat and an OpenLayers.Icon. This class represents a screen coordinate, in x and y coordinates Instances of this class represent a width/height pair This is a class designed to designate a single tile, however it is explicitly designed to do relatively little. Instances of OpenLayers.Tile.Image are used to manage the image tiles used by various layers. Instances of OpenLayers.Tile.WFS are used to manage the image tiles used by various layers. Get the opposite quadrant for a given quadrant string. Create a new OpenLayers.Pixel instance {Array(OpenLayers.Popup)} List of popups associated with the map {OpenLayers.Pixel} Top Left pixel of the tile {String} Set in the layer options to override the default projection string this layer - also set maxExtent, maxResolution, and units if appropriate. {String} Set in the map options to override the default projection string this map - also set maxExtent, maxResolution, and units if appropriate. Read data from a string, and return an object whose type depends on the subclass. {Boolean} Try to reproject this layer if its coordinate reference system is different than that of the base layer. Called on return from request succcess. {Array} {Number} {Array} Change the opacity of the marker by changin the opacity of its icon Change the map options {OpenLayers.Size} The image size in pixels {OpenLayers.Size} Size of the main div (this.div) {OpenLayers.Size} null Create an instance of OpenLayers.Size {String} Relative path to a CSS file from which to load theme styles. {OpenLayers.Tile.Image} Constructor for a new OpenLayers.Tile instance. {Integer} 256 {Integer} 256 {OpenLayers.Size} Set in the map options to override the default tile size for this map. Creates a new timer under the given name. {Number} Return a readable string version of the lonlat Cast this object into a string Return the string representation of a size object Prints an interactive stack trace of JavaScript execution at the point where it is called. {String} The layer map units. {String} The map units. Function that is called to destroy the map on page unload. {String} URL of the image to use {String} url of the request {String} The URL of the image being requested. {String} Create a new vector layer {HTMLDivElement} The element that represents the map viewport {String} Used to store a unique identifier that changes when the map view changes. {Number} width Writes a message to the console with the visual “warning” icon and color coding and a hyperlink to the line where it was called. Constructor for a new OpenLayers.Tile.WFS instance. Create a new WMS layer object {Boolean} #487 for more info. Accept an object, and return a string. {Number} The x coordinate {Object} Base z-indexes for different classes of thing {Integer} The current zoom level of the map |
OpenLayers JavaScript Mapping Library | Index
{OpenLayers.Icon} {String} Unique identifier for the map {String} null Create a new image layer Constructor for a new OpenLayers.Tile.Image instance. {DOMElement} The div element which wraps the image.
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. {Boolean} The layer is a base layer. {Boolean} The layer is a base layer. {OpenLayers.Layer} layer the tile is attached to {HTMLDivElement} The element that contains the layers. {OpenLayers.LonLat} The lonlat at which the later container was re-initialized (on-zoom) {Array(OpenLayers.Layer)} Ordered list of layers in the map {Number} get the full request string from the ds and the tile params and call the AJAX loadURL(). Log an object in the console. {OpenLayers.LonLat} location of object Create a new OpenLayers.LonLat instance {OpenLayers.Map} Constructor for a new OpenLayers.Map instance. {OpenLayers.Bounds} {OpenLayers.Bounds} The maximum extent for the map. {Number} Default max is 360 deg / 256 px, which corresponds to zoom level 0 on gmaps. {Number} Default max is 360 deg / 256 px, which corresponds to zoom level 0 on gmaps. {Number} {Number} {OpenLayers.Bounds} {OpenLayers.Bounds} {Number} {Number} {Number} Moves a point in place Move the marker to the new location. Reposition the tile. Reposition the tile. Constructor for a MultiLineString Geometry. Create a new MultiPoint Geometry {Integer} {Integer} Number of zoom levels for the map. {Boolean} Whether or not the marker is currently visible on screen. The OpenLayers object provides a namespace for all things OpenLayers Classes in OpenLayers: Instances of this class represent bounding boxes. Contains functions to create OpenLayers style classes. The OpenLayers.Console namespace is used for debugging and error logging. Base class for format reading/writing a variety of formats. A Geometry is a description of a geographic object. A Collection is exactly what it sounds like: A collection of different Geometries. A MultiLineString is a collection of LineStrings. MultiPoint is a collection of Points. Point geometry class. Polygon is a collection of Geometry.LinearRings. Instances of OpenLayers.Layer.Image are used to display data from a web accessible image as a map layer. Instances of OpenLayers.Layer.Vector are used to render vector data from a variety of sources. Instances of OpenLayers.Layer.WMS are used to display data from OGC Web Mapping Services. This class represents a longitude and latitude pair Instances of OpenLayers.Map are interactive maps embedded in a web page. Instances of OpenLayers.Marker are a combination of a OpenLayers.LonLat and an OpenLayers.Icon. This class represents a screen coordinate, in x and y coordinates Instances of this class represent a width/height pair This is a class designed to designate a single tile, however it is explicitly designed to do relatively little. Instances of OpenLayers.Tile.Image are used to manage the image tiles used by various layers. Instances of OpenLayers.Tile.WFS are used to manage the image tiles used by various layers. Get the opposite quadrant for a given quadrant string. Create a new OpenLayers.Pixel instance Construct a point geometry. Constructor for a Polygon geometry. {Array(OpenLayers.Popup)} List of popups associated with the map {OpenLayers.Pixel} Top Left pixel of the tile {String} Set in the layer options to override the default projection string this layer - also set maxExtent, maxResolution, and units if appropriate. {String} Set in the map options to override the default projection string this map - also set maxExtent, maxResolution, and units if appropriate. Read data from a string, and return an object whose type depends on the subclass. {Boolean} Try to reproject this layer if its coordinate reference system is different than that of the base layer. Called on return from request succcess. {Array} {Number} {Array} Change the opacity of the marker by changin the opacity of its icon Change the map options {OpenLayers.Size} The image size in pixels {OpenLayers.Size} Size of the main div (this.div) {OpenLayers.Size} null Create an instance of OpenLayers.Size |
OpenLayers JavaScript Mapping Library | Index
{String} Relative path to a CSS file from which to load theme styles. {OpenLayers.Tile.Image} Constructor for a new OpenLayers.Tile instance. {Integer} 256 {Integer} 256 {OpenLayers.Size} Set in the map options to override the default tile size for this map. Creates a new timer under the given name. {Number} {String} Shortened String representation of Point object. Return a readable string version of the lonlat Cast this object into a string Return the string representation of a size object Prints an interactive stack trace of JavaScript execution at the point where it is called. {String} The layer map units. {String} The map units. Function that is called to destroy the map on page unload. {String} URL of the image to use {String} url of the request {String} The URL of the image being requested. {String} Create a new vector layer {HTMLDivElement} The element that represents the map viewport {String} Used to store a unique identifier that changes when the map view changes. {Number} width Writes a message to the console with the visual “warning” icon and color coding and a hyperlink to the line where it was called. Constructor for a new OpenLayers.Tile.WFS instance. Create a new WMS layer object {Boolean} #487 for more info. Accept an object, and return a string. {float} {Number} The x coordinate {float} {Object} Base z-indexes for different classes of thing {Integer} The current zoom level of the map |
OpenLayers JavaScript Mapping Library | Property Index
{String} Relative path of this script. {Number} The ratio of height/width represented by a single pixel in the graphic {Number} {OpenLayers.Bounds} {OpenLayers.Bounds} null {OpenLayers.LonLat} The current center of the map {Array(OpenLayers.Control)} List of controls associated with the map {Boolean} Request map tiles that are completely outside of the max extent for this layer. {DOMElement} The element that contains the map {Boolean} false {OpenLayers.Events} An events object that handles all events on the map {OpenLayers.Events} {OpenLayers.Bounds} The image bounds in map units {Boolean} Should OpenLayers allow events on the map to fall through to other elements on the page, or should it swallow them? {Array(OpenLayers.Feature)} list of features in this tile {DOMElement} The image element is appended to the frame. {Integer} Determines the width (in pixels) of the gutter around image tiles to ignore. {Number} height {OpenLayers.Icon} {String} Unique identifier for the map {String} null {DOMElement} The div element which wraps the image. {Boolean} The layer is a base layer. {Boolean} The layer is a base layer. {OpenLayers.Layer} layer the tile is attached to {HTMLDivElement} The element that contains the layers. {OpenLayers.LonLat} The lonlat at which the later container was re-initialized (on-zoom) {Array(OpenLayers.Layer)} Ordered list of layers in the map {Number} {OpenLayers.LonLat} location of object {OpenLayers.Map} {OpenLayers.Bounds} {OpenLayers.Bounds} The maximum extent for the map. {Number} Default max is 360 deg / 256 px, which corresponds to zoom level 0 on gmaps. {Number} Default max is 360 deg / 256 px, which corresponds to zoom level 0 on gmaps. {Number} {Number} {OpenLayers.Bounds} {OpenLayers.Bounds} {Number} {Number} {Number} {Integer} {Integer} Number of zoom levels for the map. {Array(OpenLayers.Popup)} List of popups associated with the map {OpenLayers.Pixel} Top Left pixel of the tile {String} Set in the layer options to override the default projection string this layer - also set maxExtent, maxResolution, and units if appropriate. {String} Set in the map options to override the default projection string this map - also set maxExtent, maxResolution, and units if appropriate. {Boolean} Try to reproject this layer if its coordinate reference system is different than that of the base layer. {Array} {Number} {Array} {OpenLayers.Size} The image size in pixels {OpenLayers.Size} Size of the main div (this.div) {OpenLayers.Size} null {String} Relative path to a CSS file from which to load theme styles. {OpenLayers.Tile.Image} {OpenLayers.Size} Set in the map options to override the default tile size for this map. {Number} {String} The layer map units. {String} The map units. {String} URL of the image to use {String} url of the request {String} The URL of the image being requested. {String} {HTMLDivElement} The element that represents the map viewport {String} Used to store a unique identifier that changes when the map view changes. {Number} width {Boolean} #487 for more info. {Number} The x coordinate {Integer} The current zoom level of the map |
OpenLayers JavaScript Mapping Library | Property Index
{String} Relative path of this script. {boolean} null {Number} The ratio of height/width represented by a single pixel in the graphic {Number} {OpenLayers.Bounds} {OpenLayers.Bounds} null {OpenLayers.LonLat} The current center of the map {Array(OpenLayers.Control)} List of controls associated with the map {Boolean} Request map tiles that are completely outside of the max extent for this layer. {DOMElement} The element that contains the map {Boolean} false {OpenLayers.Events} An events object that handles all events on the map {OpenLayers.Events} {OpenLayers.Bounds} The image bounds in map units {Boolean} Should OpenLayers allow events on the map to fall through to other elements on the page, or should it swallow them? {Array(OpenLayers.Feature)} list of features in this tile {DOMElement} The image element is appended to the frame. {Integer} Determines the width (in pixels) of the gutter around image tiles to ignore. {Number} height {OpenLayers.Handler} null {OpenLayers.Icon} {String} Unique identifier for the map {String} null {DOMElement} The div element which wraps the image. {Boolean} The layer is a base layer. {Boolean} The layer is a base layer. {OpenLayers.Layer} layer the tile is attached to {HTMLDivElement} The element that contains the layers. {OpenLayers.LonLat} The lonlat at which the later container was re-initialized (on-zoom) {Array(OpenLayers.Layer)} Ordered list of layers in the map {Number} {OpenLayers.LonLat} location of object {OpenLayers.Map} {OpenLayers.Bounds} {OpenLayers.Bounds} The maximum extent for the map. {Number} Default max is 360 deg / 256 px, which corresponds to zoom level 0 on gmaps. {Number} Default max is 360 deg / 256 px, which corresponds to zoom level 0 on gmaps. {Number} {Number} {OpenLayers.Bounds} {OpenLayers.Bounds} {Number} {Number} {Number} {Integer} {Integer} Number of zoom levels for the map. {Array(OpenLayers.Popup)} List of popups associated with the map {OpenLayers.Pixel} Top Left pixel of the tile {String} Set in the layer options to override the default projection string this layer - also set maxExtent, maxResolution, and units if appropriate. {String} Set in the map options to override the default projection string this map - also set maxExtent, maxResolution, and units if appropriate. {Boolean} Try to reproject this layer if its coordinate reference system is different than that of the base layer. {Array} {Number} {Array} {OpenLayers.Size} The image size in pixels {OpenLayers.Size} Size of the main div (this.div) {OpenLayers.Size} null {String} Relative path to a CSS file from which to load theme styles. {OpenLayers.Tile.Image} {OpenLayers.Size} Set in the map options to override the default tile size for this map. {Number} {String} The layer map units. {String} The map units. {String} URL of the image to use {String} url of the request {String} The URL of the image being requested. {String} {HTMLDivElement} The element that represents the map viewport {String} Used to store a unique identifier that changes when the map view changes. {Number} width {Boolean} #487 for more info. {float} {Number} The x coordinate {float} {Integer} The current zoom level of the map |