OpenLayers Class Reference Documentation" >> ../doc/reference.html
+echo "
+
+ OpenLayers Class Reference Documentation
+
+
+ " >> ../doc/reference.html
for i in $CLASSES; do
echo "
' >> ../doc/reference.html
done
-echo "" >> ../doc/reference.html
+echo "
+" >> ../doc/reference.html
diff --git a/doc/Control.Permalink.txt b/doc/Control.Permalink.txt
index f696959048..aa0a0b81b2 100644
--- a/doc/Control.Permalink.txt
+++ b/doc/Control.Permalink.txt
@@ -1,6 +1,6 @@
OpenLayers.Control.Permalink
-A small control which updates a "Permalink" to the map every time the viewport changes. This allows users to copy a link to a specfic map view. By default, it places itself in the lower right corner of the map,
+A small control which updates a "Permalink" to the map every time the viewport changes. This allows users to copy a link to a specfic map view. By default, it places itself in the lower right corner of the map. This control must be added to the map after a baselayer has been set.
* Constructor
OpenLayers.Control.Scale({DOMElement|element}?, {String|base}) -- Creates a new permalink control. The DOMElement is used, if passed, as the element on which the 'href' is set. If you prefer to put this link on an element outside of the map, set this element to an anchor element to have its href updated when the map moves. If you wish to make the link go to some other URL (for example, an editing interface rather than the current URL), the 'base' property can be used, to which the ?lat=&lon=&zoom= will be appended after the map has moved.
diff --git a/doc/Layer.GeoRSS.txt b/doc/Layer.GeoRSS.txt
index a38c77ba57..6f61629e9b 100644
--- a/doc/Layer.GeoRSS.txt
+++ b/doc/Layer.GeoRSS.txt
@@ -1,6 +1,7 @@
OpenLayers.Layer.GeoRSS
-GeoRSS layer. Pass a name and location of a GeoRSS file on the web, and a marker will be added to the map for each item in the GeoRSS feed. Uses OpenLayers.loadURL to load the XML, parses the data, and adds markers to the map.
+GeoRSS layer. Pass a name and location of a GeoRSS file on the web, and a marker will be added to the map for each item in the GeoRSS feed. Uses OpenLayers.loadURL to load the XML, parses the data, and adds markers to the map. The GeoRSS layer supports 1.0 and 2.0 in IE and Firefox, and supports 2.0 in Safari. (Ticket #111 explains the reason for this difference.)
+
* Constructor
OpenLayers.Layer.GeoRSS(name, url) -- Name and location of GeoRSS XML file.
diff --git a/doc/Layer.WMS.txt b/doc/Layer.WMS.txt
index dc4d374d01..edf0da8e0c 100644
--- a/doc/Layer.WMS.txt
+++ b/doc/Layer.WMS.txt
@@ -1,6 +1,8 @@
OpenLayers.Layer.WMS
-The WMS layer allows one to connect to a WMS server to obtain images.
+The WMS layer allows one to connect to a WMS server to obtain images. Params are available as a hash on the layer object, however, all keys are upper-cased automatically for maximum compatibility with WMS servers, so a parameter which is set as 'layers' will be uppercased to LAYERS. Where 'layer' is your Javscript variable for the layer, layer.params.LAYERS is the value of the layers param as set by the constructor.
+
+If you wish to change params, you should use mergeNewParams, rather than accessing the parameters directly.
* Constructor
OpenLayers.Layer.WMS(name, url, params, options) -- URL is the base URL to the layer. Params is a set of params to be included in the HTTP Request. Options is a set of options, extending the parameters of the layer.
@@ -9,5 +11,5 @@ The WMS layer allows one to connect to a WMS server to obtain images.
getURL({OpenLayers.Bounds|bounds}) -- {String} -- Returns a WMS URL for the given bounds based on the properties of the layer.
All other methods are inherited from {OpenLayers.Layer.Grid}
-* Parameters
+* Options
isBaseLayer -- WMS layers default to being base layers unless one of their parameters is 'transparent':'true'.
diff --git a/examples/google.html b/examples/google.html
index 611cc0b51b..5b8495b9ab 100644
--- a/examples/google.html
+++ b/examples/google.html
@@ -23,20 +23,23 @@
var map, layer;
function init(){
- map = new OpenLayers.Map( $('map') );
+ map = new OpenLayers.Map( $('map') ,
+ { controls: [new OpenLayers.Control.MouseDefaults()] });
- var normal = new OpenLayers.Layer.Google( "Google" );
+ var normal = new OpenLayers.Layer.Google( "Google", // );
+ { minZoomLevel: 3, maxZoomLevel: 8 });
var satellite = new OpenLayers.Layer.Google( "Google Satellite" , {type: G_SATELLITE_MAP });
var hybrid = new OpenLayers.Layer.Google( "Google Hybrid" , {type: G_HYBRID_MAP });
- map.addLayers([normal, satellite, hybrid]);
+ map.addLayers([satellite, normal, hybrid]);
markers = new OpenLayers.Layer.Markers("markers");
map.addLayer(markers);
map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
map.addControl( new OpenLayers.Control.LayerSwitcher() );
+ map.addControl( new OpenLayers.Control.PanZoomBar() );
}
diff --git a/examples/kamap.html b/examples/kamap.html
index 8f1cacf235..d2798e5c84 100644
--- a/examples/kamap.html
+++ b/examples/kamap.html
@@ -18,7 +18,7 @@
{layers: 'basic'} );
var jpl_wms = new OpenLayers.Layer.KaMap( "Satellite",
- "/world/index.php", {g: "satellite", map: "world"});
+ "http://www.openlayers.org/world/index.php", {g: "satellite", map: "world"});
var dm_wms = new OpenLayers.Layer.WMS( "Canada",
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
{layers: "bathymetry,land_fn,park,drain_fn,drainage," +
diff --git a/examples/setextent.html b/examples/setextent.html
new file mode 100644
index 0000000000..d90f7b820e
--- /dev/null
+++ b/examples/setextent.html
@@ -0,0 +1,29 @@
+
+
+Setting a visual Extent
+
+
+
+
Setting a Visual Extent
+
+ Because the ability to set the map to a given extent is limited by the
+ current resolutions available, zoomToExtent will not always set the map to
+ exactly the right extent. In order to visually annotate the actual extent,
+ this example, will use the Boxes layer to visually describe the desired
+ extent as well as setting the map extent.
+
The idea here is to simulate the layerswitcher radiobuttons UI
+ without all the overhead of openlayers.
+
+
+ There are event handlers attached to the following elements:
+
+ * Body - Prints message "clicked body" to message area
+
+ * Blue Div - Prints message "clicked div" to message area, stops
+ the event propagation, prints a message with the
+ status of the two radiobuttons
+
+ * Radio One - Prints message "clicked one" to message area
+
+ * Radio Two - Prints message "clicked two" to message area
+
+
+
+ The problem, as you will see if you click the radio buttons
+ themselves, is that their "checked" status seems to update, but
+ their visual UI bit does not. Can we fix this!?!
+
+
+
+
+
+ one
+
+
+ two
+
+
+
+ Events:
+
+
+
+
\ No newline at end of file
diff --git a/examples/tiger.html b/examples/tiger.html
index 7c3520e822..271a293e25 100644
--- a/examples/tiger.html
+++ b/examples/tiger.html
@@ -14,11 +14,12 @@
var map = new OpenLayers.Map('map', {'maxResolution': 1.40625/4, controls:[]});
var ka_wms = new OpenLayers.Layer.KaMap( "TIGER (KaMap)",
- "http://boston.freemap.in/tile.php" , { map: 'tiger', layers: 'TIGER' }, 'degrees', 72 );
+ "http://boston.freemap.in/tile.php" , { map: 'tiger', layers: 'TIGER' });
var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
"http://wms.jpl.nasa.gov/wms.cgi",
{layers: "modis,global_mosaic"});
jpl_wms.setVisibility(false);
+ ka_wms.isBaseLayer = false;
map.addLayers([jpl_wms,ka_wms]);
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.addControl(new OpenLayers.Control.MouseToolbar());
diff --git a/examples/urban.html b/examples/urban.html
index ed2156b3fd..6531b10fd7 100644
--- a/examples/urban.html
+++ b/examples/urban.html
@@ -11,15 +11,15 @@
+
+
+
+
+
+