Tutorial by Examples

Create a vector source var vectorSource = new ol.source.Vector({}); Initiate Map Object and add vector Layer to the map and Source as the vectorSource var map = new ol.Map({ layers: [ new ol.layer.Tile({ source: new ol.source.OSM() }), new ol.layer.Vector({ ...

Page 1 of 1