@vcmap/search-esri
v2.0.0
Published
esri search extension
Downloads
250
Readme
Esri Search Plugin
Extends search widget using Locator ArcGIS Rest API
Configuration:
| Property | Type | State | Description |
| ---------------- | ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| url
| string | required | URL of the search service |
| addressMapping
| Record<string, string> | required | Mapping the ESRI Geocoding attributes to the VC Map Address Balloon attributes |
| maxLocations
| string | optional | The Maximum number of results |
| zoomDistance
| number | optional | The distance to use, when flying to the result |
Example:
{
"url": "https://gis.kreis-soest.de/wss/service/ags-relay/ArcGIS_Server/guest/arcgis/rest/services/Locator/locator_Soest/GeocodeServer",
"addressMapping": {
"addressName": "Match_addr"
},
"maxLocations": 6,
"zoomDistance": 240
}