Septima.Search.ArcGisSearcher
Extends Septima.Search.Searcher
Searches an arcGIS service.
Supports GET
No sq support
Options
Name | Type | Mandatory | Default value | Description |
---|---|---|---|---|
source | string | ArcGis | The source of results. | |
catalogUrl | string | Yes | catalog-url eg: "http://kortservice.vejle.dk/gis/rest/services" | |
serviceName | string | Yes | [folder/]service eg: "GISWEB2/FamilieSocial" | |
layers | string | * | "*" or "layer1Name[, layer2Name]" |
Examples
Usage
YAML Declaration
_type: Septima.Search.ArcGisSearcher
_options:
source: "Gentofte ArcGIS"
catalogUrl: "http://gis.gentofte.dk/ekstern/rest/services"
serviceName: "NetGIS/NG_Kultur_og_Fritid"
layers: "Andet grønt område"
JS options:
arcGisSearcherOptions = {
// Specific options
catalogUrl : http:// <catalog-url>" eg: "http://kortservice.vejle.dk/gis/rest/services",
serviceName: "[folder/]service" eg: "GISWEB2/FamilieSocial",
layers : "*" or ["layer1Name", "layer2Name"],
// General options
onSelect : function(result) {
log('<b>'+ ArcGIS objekt + ':</b> '+ result.title + '<br/>');
},
matchesPhrase: "Begynder med ",
searchDelay: 200
}
js client:
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
controller.addSearcher(new Septima.Search.ArcGisSearcher(arcGisSearcherOptions))
ES6:
import ArcGisSearcher from './searchers/ArcGisSearcher.js'
controller.addSearcher(new ArcGisSearcher(arcGisSearcherOptions))