fix up SOS client example, non-functional change, the underlying SOS service had changed something in the accepted resultModel values
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10713 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -127,7 +127,7 @@
|
||||
var offering = this.SOSCapabilities.contents.offeringList[name];
|
||||
var xml = this.obsformat.write({
|
||||
eventTime: 'latest',
|
||||
resultModel: 'measurement',
|
||||
resultModel: 'om:Measurement',
|
||||
responseMode: 'inline',
|
||||
procedure: feature.attributes.id,
|
||||
offering: name,
|
||||
|
||||
@@ -104,6 +104,7 @@ OpenLayers.Format.SOSGetObservation = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
*/
|
||||
write: function(options) {
|
||||
var node = this.writeNode("sos:GetObservation", options);
|
||||
node.setAttribute("xmlns:om", this.namespaces.om);
|
||||
this.setAttributeNS(
|
||||
node, this.namespaces.xsi,
|
||||
"xsi:schemaLocation", this.schemaLocation
|
||||
|
||||
Reference in New Issue
Block a user