mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 21:31:12 +08:00
Override ol.layer.Vector#getSource() (#11703)
Reference: http://openlayers.org/en/latest/apidoc/ol.layer.Vector.html
This commit is contained in:
7
openlayers/openlayers.d.ts
vendored
7
openlayers/openlayers.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user