Fix some problems in the documentation.
This commit is contained in:
@@ -1055,15 +1055,16 @@ OpenLayers.Format.WMC.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: write_wmc_URLType
|
||||
* Create a LogoURL/DescriptionURL/MetadataURL/DataURL/LegendURL node given a object and elementName.
|
||||
* Method: write_wmc_URLType
|
||||
* Create a LogoURL/DescriptionURL/MetadataURL/DataURL/LegendURL node given a object and elementName.
|
||||
*
|
||||
* Parameters:
|
||||
* elName - {String} Name of element (LogoURL/DescriptionURL/MetadataURL/LegendURL)
|
||||
* url - {String} URL string value
|
||||
* attr - {Object} Optional attributes (width, height, format)
|
||||
* elName - {String} Name of element (LogoURL/DescriptionURL/MetadataURL/LegendURL)
|
||||
* url - {String} URL string value
|
||||
* attr - {Object} Optional attributes (width, height, format)
|
||||
*
|
||||
* Returns:
|
||||
* {Element} A WMC element node.
|
||||
* {Element} A WMC element node.
|
||||
*/
|
||||
write_wmc_URLType: function(elName, url, attr) {
|
||||
var node = this.createElementDefaultNS(elName);
|
||||
|
||||
Reference in New Issue
Block a user