Merge branch 'master' into bigbackbuffer

This commit is contained in:
Éric Lemoine
2011-10-21 00:14:19 +02:00
3 changed files with 5 additions and 6 deletions
+3 -4
View File
@@ -10,7 +10,7 @@
/** /**
* Class: OpenLayers.Control.ArgParser * Class: OpenLayers.Control.ArgParser
* The ArgParser control adds location bar querystring parsing functionality * The ArgParser control adds location bar query string parsing functionality
* to an OpenLayers Map. * to an OpenLayers Map.
* When added to a Map control, on a page load/refresh, the Map will * When added to a Map control, on a page load/refresh, the Map will
* automatically take the href string and parse it for lon, lat, zoom, and * automatically take the href string and parse it for lon, lat, zoom, and
@@ -43,7 +43,6 @@ OpenLayers.Control.ArgParser = OpenLayers.Class(OpenLayers.Control, {
* APIProperty: displayProjection * APIProperty: displayProjection
* {<OpenLayers.Projection>} Requires proj4js support. * {<OpenLayers.Projection>} Requires proj4js support.
* Projection used when reading the coordinates from the URL. This will * Projection used when reading the coordinates from the URL. This will
*
* reproject the map coordinates from the URL into the map's * reproject the map coordinates from the URL into the map's
* projection. * projection.
* *
@@ -68,10 +67,10 @@ OpenLayers.Control.ArgParser = OpenLayers.Class(OpenLayers.Control, {
url = url || window.location.href; url = url || window.location.href;
var parameters = OpenLayers.Util.getParameters(url); var parameters = OpenLayers.Util.getParameters(url);
// If we have an chchor in the url use it to split the url // If we have an anchor in the url use it to split the url
var index = url.indexOf('#'); var index = url.indexOf('#');
if (index > 0) { if (index > 0) {
// create an url to parce on the getParameters // create an url to parse on the getParameters
url = '?' + url.substring(index + 1, url.length); url = '?' + url.substring(index + 1, url.length);
OpenLayers.Util.extend(parameters, OpenLayers.Util.extend(parameters,
+1 -1
View File
@@ -49,7 +49,7 @@ OpenLayers.Lang = {
* Set the language code for string translation. This code is used by * Set the language code for string translation. This code is used by
* the <OpenLayers.Lang.translate> method. * the <OpenLayers.Lang.translate> method.
* *
* Parameters- * Parameters:
* code - {String} These codes follow the IETF recommendations at * code - {String} These codes follow the IETF recommendations at
* http://www.ietf.org/rfc/rfc3066.txt. If no value is set, the * http://www.ietf.org/rfc/rfc3066.txt. If no value is set, the
* browser's language setting will be tested. If no <OpenLayers.Lang> * browser's language setting will be tested. If no <OpenLayers.Lang>
+1 -1
View File
@@ -949,7 +949,7 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
* Does nothing by default. Override this if you * Does nothing by default. Override this if you
* need to do something on feature updates. * need to do something on feature updates.
* *
* Paarameters: * Parameters:
* feature - {<OpenLayers.Feature.Vector>} * feature - {<OpenLayers.Feature.Vector>}
*/ */
onFeatureInsert: function(feature) { onFeatureInsert: function(feature) {