...
Name | Requirement | Description |
---|---|---|
mapsource | mandatory | A list can be obtained from the GetMapSources method. This needs to be the name of the .xml file (without the .xml extension) not the name of the MapSource in Studio. |
layerToSearch | mandatory | A list can be obtained from the GetFindNearestSources method. These layer names as the MapServer layer names not the name for the layer in Studio. |
x | mandatory | Easting in British National Grid coordinates for the search to take place from. |
y | mandatory | Northing in British National Grid coordinates for the search to take place from. |
includeMap | mandatory | Either true or false whether a map image byte stream is returned |
maxResults | mandatory | Must be an integer (0 if null). If null then default used |
maxDistance | mandatory | Must be an integer (0 if null). Specified in metres. If null then default used |
width | mandatory | Width in pixels for the map image |
height | mandatory | Height in pixels for the map image |
Returns
An array of Base Layer Definitions. Can be zero in length.
...