Merge pull request #10840 from fredj/remove_inheritDoc

Remove inherit doc
This commit is contained in:
Frédéric Junod
2020-04-04 14:06:43 +02:00
committed by GitHub
120 changed files with 891 additions and 573 deletions

View File

@@ -97,6 +97,7 @@ describe('ol.format.EsriJSON', function() {
};
const featureCollectionEsriJSON = {
objectIdFieldName: 'prop0',
features: [pointEsriJSON, lineStringEsriJSON, polygonEsriJSON]
};
@@ -230,6 +231,10 @@ describe('ol.format.EsriJSON', function() {
expect(features[0].getGeometry()).to.be.an(Point);
expect(features[1].getGeometry()).to.be.an(LineString);
expect(features[2].getGeometry()).to.be.an(Polygon);
expect(features[0].getId()).to.eql('value0');
expect(features[1].getId()).to.eql('value0');
expect(features[2].getId()).to.eql('value0');
});
it('can read and transform a point', function() {

View File

@@ -35,9 +35,6 @@ class MockTile extends TileSource {
}
/**
* @inheritDoc
*/
MockTile.prototype.getTile = function(z, x, y) {
const key = getKeyZXY(z, x, y);
if (this.tileCache.containsKey(key)) {