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
e.g http://localhost/isharemaps_internal/locate.asmx/GetAllMyHouseContent?mapsource=mapsources/myhouse&groups=MyLayerGroup&x=520485&y=160728 |
Parameters
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. |
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 code.
Errors
Raises error – Invalid Map Source