I'm new in Angular 2, and i'm building dashboard application with openstreet map, thus i use this Angular2-openlayer.
When i try implementing this code
<aol-map [width]="'100%'">
<aol-view [zoom]="4.98">
<aol-coordinate [x]="118.015776" [y]="-2.600029" [srid]="'EPSG:4326'"></aol-coordinate>
</aol-view>
<aol-layer-tile>
<aol-source-osm></aol-source-osm>
</aol-layer-tile>
<aol-feature>
<aol-geometry-point>
<aol-coordinate [x]="5" [y]="45" [srid]="'EPSG:4326'"></aol-coordinate>
</aol-geometry-point>
<aol-style>
<aol-style-circle [radius]="10">
<aol-style-stroke [color]="'black'" [width]="2"></aol-style-stroke>
<aol-style-fill [color]="'green'"></aol-style-fill>
</aol-style-circle>
</aol-style>
</aol-feature>
</aol-map>
i've got this error
No provider for SourceVectorComponent!
Can you guys help me about it?
And also, if you guys have more example using this plugin, i really appreciate it if you give me some links.
Thanks