Override ol.layer.Vector#getSource() (#11703)

Reference: http://openlayers.org/en/latest/apidoc/ol.layer.Vector.html
This commit is contained in:
stonio
2016-10-04 19:15:00 +02:00
committed by Mohamed Hegazy
parent 18faea3515
commit c55d26d179

View File

@@ -6360,6 +6360,13 @@ declare module ol {
*/
constructor(opt_options?: olx.layer.VectorOptions);
/**
* Return the associated {@link ol.source.Vector vectorsource} of the layer.
* @return {ol.source.Vector} Source.
* @api stable
*/
getSource(): ol.source.Vector;
/**
* Get the style for features. This returns whatever was passed to the `style`
* option at construction or to the `setStyle` method.