This method is available to developers from the Locate.asmx Web Service and returns MyHouse data . This is returned in xml format and contains spatial data for the named layer group and also any non-spatial data.
Example Call
|
Parameters
Name | Requirement | Description |
---|---|---|
mapsource | mandatory | A list can be obtained from the GetMapSourcesGetMyHouseMapSources method. This needs to be the name of the .xml file (without the .xml extension) not the name of the MapSource in Studio. |
groups | mandatory | The layergroup(s) for which we wish to obtain spatial data |
x | mandatory | Easting in British National Grid meters |
y | mandatory | Northing in British National Grid meters |
zoom | mandatory | Zoom in METERS for the map |
width | mandatory | Width in pixels of the resultant image |
height | mandatory | Height in pixels of the resultant image |
Returns
MapSpur Envelope including a map view definition (of the resultant view), the map image byte array, time elapsed on the server to process and also and error message and error codefor the specified groups, plus the other non spatial layers for mapsource.
Errors
Raises error – Invalid Map SourceMapsource file not found