WFS OpenLayers.  Ví dụ: tại đây

<!DOCTYPE html>

    <link rel="stylesheet" href="" type="text/css">
    <!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
    <script src=",Element.prototype.classList,URL"></script>
    <script src=""></script>

    <div id="map" class="map"></div>
        var baseUrl = "";
        var vectorSource = new ol.source.Vector({
            format: new ol.format.GeoJSON(),
            url: function (extent) {
                return '/gservices/rest/ogc/gsv_data/wfs?service=WFS&' +
                    'version=2.0.0&request=GetFeature&typenames=kghuyen_diaphan&' +
                    'outputFormat=application/json&srsname=EPSG:900913&count=1000&' +
                    'bbox=' + extent.join(',');
            strategy: ol.loadingstrategy.bbox

        var vector = new ol.layer.Vector({
            source: vectorSource,
            style: new{
                stroke: new{
                    color: 'rgba(0, 0, 255, 1.0)',
                    width: 2

        var omsLayer = new ol.layer.Tile({
            source: new ol.source.OSM()

        var map = new ol.Map({
            layers: [omsLayer, vector],
            target: document.getElementById('map'),
            view: new ol.View({
                center: ol.proj.fromLonLat([108.73794559032781, 15.006576216907092]),//Tam ky Da Nang
                zoom: 10