The 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.
Note
Note 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.
A 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.
A Collection is exactly what it sounds like: A collection of different Geometries.
A Geometry is a description of a geographic object.
Constructor for a MultiLineString Geometry.
+
+
\ No newline at end of file
diff --git a/files/OpenLayers/Layer-js.html b/files/OpenLayers/Layer-js.html
index 18d1dec20b..9ffe8609a8 100644
--- a/files/OpenLayers/Layer-js.html
+++ b/files/OpenLayers/Layer-js.html
@@ -8,7 +8,7 @@ if (browserType) {document.write("
Instances 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.
Instances 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 from OpenLayers.Layer.
Instances 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 <OpenLayers.Layer.Grid>.
This class represents a longitude and latitude pair
Instances of OpenLayers.Map are interactive maps embedded in a web page.
draw: function(
px
)
Calls draw on the icon, and returns that output.
moveTo: function (
px
)
Move the marker to the new location.
onScreen:function()
{Boolean} Whether or not the marker is currently visible on screen.
inflate: function(
inflate
)
setOpacity: function(
opacity
)
Change the opacity of the marker by changin the opacity of its icon
display: function(
display
)
Hide or show the icon
OpenLayers.Marker.defaultIcon = function()
Creates a default OpenLayers.Icon.
+
+
\ No newline at end of file
diff --git a/files/OpenLayers/Tile-js.html b/files/OpenLayers/Tile-js.html
index 3bae50004a..46764020a9 100644
--- a/files/OpenLayers/Tile-js.html
+++ b/files/OpenLayers/Tile-js.html
@@ -8,7 +8,7 @@ if (browserType) {document.write("
This 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.
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.
diff --git a/files/OpenLayers/Tile/Image-js.html b/files/OpenLayers/Tile/Image-js.html
index 6d30de9329..ad67c51daf 100644
--- a/files/OpenLayers/Tile/Image-js.html
+++ b/files/OpenLayers/Tile/Image-js.html
@@ -8,7 +8,7 @@ if (browserType) {document.write("
Instances 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.
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.
diff --git a/files/OpenLayers/Tile/WFS-js.html b/files/OpenLayers/Tile/WFS-js.html
index 20f16747db..bc27e74350 100644
--- a/files/OpenLayers/Tile/WFS-js.html
+++ b/files/OpenLayers/Tile/WFS-js.html
@@ -8,7 +8,7 @@ if (browserType) {document.write("
Instances 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.