Opanlayers current version has layer
and source
objects to view vector or tile images.
Layer Types: Image, Tile and Vector
Source Types: ImageWMS, TileWMS, Geojson, OSM, Raster, Vector, …
So how can I decide which source
Works with which layer
? I could not found in openlayers documents page.