View, Layer and Source in OpenLayers-Part 2
For Part-1, Click here ol.View, ol.layer and ol.source are one of the foundations of OpenLayers application. You can not move ahead without understanding them. Let’s understand them with the help of following code. ol.View: It is used to set the view of map. At line number 25 in above code snippet, our map object(defined at …