Set key as property in Bing.js and many links as {<...>}

This commit is contained in:
Xavier Mamano
2012-01-09 00:30:53 +01:00
parent f64dea59e8
commit f4a6d4c7b2
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ OpenLayers.Feature.Vector = OpenLayers.Class(OpenLayers.Feature, {
* Moves the feature and redraws it at its new location * Moves the feature and redraws it at its new location
* *
* Parameters: * Parameters:
* location - {OpenLayers.LonLat or OpenLayers.Pixel} the * location - {<OpenLayers.LonLat> or <OpenLayers.Pixel>} the
* location to which to move the feature. * location to which to move the feature.
*/ */
move: function(location) { move: function(location) {
+3 -3
View File
@@ -135,7 +135,7 @@ OpenLayers.Format.ArcXML = OpenLayers.Class(OpenLayers.Format.XML, {
* *
* Parameters: * Parameters:
* imsize - {Object} An ArcXML imagesize object. * imsize - {Object} An ArcXML imagesize object.
* olsize - {OpenLayers.Size} The image size to set. * olsize - {<OpenLayers.Size>} The image size to set.
*/ */
addImageSize: function(imsize, olsize) { addImageSize: function(imsize, olsize) {
if (olsize !== null) { if (olsize !== null) {
@@ -152,7 +152,7 @@ OpenLayers.Format.ArcXML = OpenLayers.Class(OpenLayers.Format.XML, {
* *
* Parameters: * Parameters:
* featOrFilt - {Object} A featurecoordsys or filtercoordsys ArcXML structure. * featOrFilt - {Object} A featurecoordsys or filtercoordsys ArcXML structure.
* fsys - {String} or {OpenLayers.Projection} or {filtercoordsys} or * fsys - {String} or {<OpenLayers.Projection>} or {filtercoordsys} or
* {featurecoordsys} A projection representation. If it's a {String}, * {featurecoordsys} A projection representation. If it's a {String},
* the value is assumed to be the SRID. If it's a {OpenLayers.Projection} * the value is assumed to be the SRID. If it's a {OpenLayers.Projection}
* AND Proj4js is available, the projection number and name are extracted * AND Proj4js is available, the projection number and name are extracted
@@ -873,7 +873,7 @@ OpenLayers.Format.ArcXML = OpenLayers.Class(OpenLayers.Format.XML, {
* node - {<DOMElement>} An element to parse <COORDS> or <POINT> arcxml data from. * node - {<DOMElement>} An element to parse <COORDS> or <POINT> arcxml data from.
* *
* Returns: * Returns:
* {OpenLayers.Geometry.LinearRing} A linear ring represented by the node's points. * {<OpenLayers.Geometry.LinearRing>} A linear ring represented by the node's points.
*/ */
parsePointGeometry: function(node) { parsePointGeometry: function(node) {
var ringPoints = []; var ringPoints = [];
+4 -4
View File
@@ -281,7 +281,7 @@ OpenLayers.Format.GPX = OpenLayers.Class(OpenLayers.Format.XML, {
* *
* Parameters: * Parameters:
* trknode * trknode
* geometry - {OpenLayers.Geometry} * geometry - {<OpenLayers.Geometry>}
*/ */
buildTrkSegNode: function(geometry) { buildTrkSegNode: function(geometry) {
var node, var node,
@@ -311,7 +311,7 @@ OpenLayers.Format.GPX = OpenLayers.Class(OpenLayers.Format.XML, {
* Builds a trkpt node given a point * Builds a trkpt node given a point
* *
* Parameters: * Parameters:
* point - {OpenLayers.Geometry.Point} * point - {<OpenLayers.Geometry.Point>}
* *
* Returns: * Returns:
* {DOMElement} A trkpt node * {DOMElement} A trkpt node
@@ -328,7 +328,7 @@ OpenLayers.Format.GPX = OpenLayers.Class(OpenLayers.Format.XML, {
* Builds a wpt node given a point * Builds a wpt node given a point
* *
* Parameters: * Parameters:
* feature - {OpenLayers.Feature.Vector} * feature - {<OpenLayers.Feature.Vector>}
* *
* Returns: * Returns:
* {DOMElement} A wpt node * {DOMElement} A wpt node
@@ -347,7 +347,7 @@ OpenLayers.Format.GPX = OpenLayers.Class(OpenLayers.Format.XML, {
* *
* Parameters: * Parameters:
* node - {DOMElement} the node to append the attribute nodes to. * node - {DOMElement} the node to append the attribute nodes to.
* feature - {OpenLayers.Feature.Vector} * feature - {<OpenLayers.Feature.Vector>}
*/ */
appendAttributesNode: function(node, feature) { appendAttributesNode: function(node, feature) {
var name = this.createElementNS(this.gpxns, 'name'); var name = this.createElementNS(this.gpxns, 'name');
+1 -1
View File
@@ -407,7 +407,7 @@ OpenLayers.Geometry.Collection = OpenLayers.Class(OpenLayers.Geometry, {
* ratio - {Float} Optional x:y ratio for resizing. Default ratio is 1. * ratio - {Float} Optional x:y ratio for resizing. Default ratio is 1.
* *
* Returns: * Returns:
* {OpenLayers.Geometry} - The current geometry. * {<OpenLayers.Geometry>} - The current geometry.
*/ */
resize: function(scale, origin, ratio) { resize: function(scale, origin, ratio) {
for(var i=0; i<this.components.length; ++i) { for(var i=0; i<this.components.length; ++i) {
+1 -1
View File
@@ -22,7 +22,7 @@
OpenLayers.Layer.Bing = OpenLayers.Class(OpenLayers.Layer.XYZ, { OpenLayers.Layer.Bing = OpenLayers.Class(OpenLayers.Layer.XYZ, {
/** /**
* APIProperty: key * Property: key
* {String} API key for Bing maps, get your own key * {String} API key for Bing maps, get your own key
* at http://bingmapsportal.com/ . * at http://bingmapsportal.com/ .
*/ */
+1 -1
View File
@@ -1491,7 +1491,7 @@ OpenLayers.Util.getBrowserName = function() {
* this node instead of the body root when calculating dimensions. * this node instead of the body root when calculating dimensions.
* *
* Returns: * Returns:
* {OpenLayers.Size} * {<OpenLayers.Size>}
*/ */
OpenLayers.Util.getRenderedDimensions = function(contentHTML, size, options) { OpenLayers.Util.getRenderedDimensions = function(contentHTML, size, options) {