new Vector( [opt_options])
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
opt_options |
bu.source.VectorOptions |
<optional> |
Vector source options. |
- Source:
- bu/source/vector.js
Extends
- ol.source.Vector
Methods
-
createReprojected(projection)
-
Returns a Promise that creates a new
bu.source.Vector
but with the features reprojected to a new projection.Parameters:
Name Type Description projection
string | bu.ProjectionInfo Projection for the resulting features.
- Source:
- bu/source/vector.js
Returns:
A Promise that returns a
bu.source.Vector
for the resolve function and an Error for the reject function.- Type
- Promise