Read 'Abstract', 'AccessConstraints' and 'Fees' in ol.format.OWS

This commit is contained in:
Frederic Junod
2017-10-19 11:58:38 +02:00
parent 0e9bd75bc6
commit e235c83231
2 changed files with 8 additions and 0 deletions

View File

@@ -82,6 +82,11 @@ describe('ol.format.OWS 1.1', function() {
var serviceIdentification = obj.ServiceIdentification;
expect(serviceIdentification).to.be.ok();
expect(serviceIdentification.Abstract).to.eql(
'Service that contrains the map access interface to some TileMatrixSets'
);
expect(serviceIdentification.AccessConstraints).to.eql('none');
expect(serviceIdentification.Fees).to.eql('none');
expect(serviceIdentification.Title).to.eql('Web Map Tile Service');
expect(serviceIdentification.ServiceTypeVersion).to.eql('1.0.0');
expect(serviceIdentification.ServiceType).to.eql('OGC WMTS');