| | |
| | | function WfsHelper () { |
| | | this.filters = [] |
| | | this.typeNames = [] |
| | | this.url = MapConfig.BLUEMAP_HOST + '/server/ogcserver/PipeLine/wfs' |
| | | this.url = MapConfig.PIPELINE_WFS |
| | | this.params = { |
| | | REQUEST: 'getfeature', |
| | | OUTPUTFORMAT: 'JSON', |
| | |
| | | } |
| | | |
| | | this.addLike = (property, literal) => { |
| | | var filter = '<PropertyIsLike><PropertyName>' + property + '</PropertyName><Literal>' + literal + '</Literal></PropertyIsLike>' |
| | | var filter = '<PropertyIsLike><PropertyName>' + property + '</PropertyName><Literal>*' + literal + '*</Literal></PropertyIsLike>' |
| | | this.filters.push(filter) |
| | | } |
| | | |