Add getters to BingMaps source for api key and imagerySet
This commit is contained in:
1 parent
cbf5d0bae0
commit
df4f2ff28d
2 files changed
+44
-2
No files matched your search
@@ -37,6 +37,14 @@ describe('ol.source.BingMaps', function() {
|
||||
});
|
||||
});
|
||||
|
||||
it('getImagerySet works correctly', function() {
|
||||
expect(source.getImagerySet()).to.equal('AerialWithLabels');
|
||||
});
|
||||
|
||||
it('getApiKey works correctly', function() {
|
||||
expect(source.getApiKey()).to.equal('');
|
||||
});
|
||||
|
||||
it('returns the expected URL', function() {
|
||||
|
||||
var coordinate = [829330.2064098881, 5933916.615134273];
|
||||
|
||||
Reference in new issue
Block a user