Spatial Server

The below is an example setting for configuring a Web Map Service.

{
    "roads":{
        "type": "Tile Service Layer",
        "url": "Server name/rest/EnterpriseMapping/MapTilingService",
        "mapName": "Map Folder/Map Name",
        "maxResolution": Maximum resolution,
        "projection": "Projection Code",
        "projectionDef": "Projection Definition",
        "units": "m",
        "maxExtent", [Maximum extent]
    }
}

"type":

this value must be set to "TileServiceLayer"

"url":

This is the base URL for the Spatial Server named tile service.

"mapName":

Map Folder/Map Name - as configured in your mapping service.

"maxResolution":

Maximum resolution - as configured in your mapping service.

"projection":

Refer to Projections page for details.

"projectionDef":

Refer to Projections page for details.

"units":

must be entered as "m", as shown in the example. m = metres.

"maxExtent":

This is the minimum and maximum northings and eastings that the map covers.

It is specified as a comma separated list of coordinates inside the square brackets as follows: Minimum X,Minimum Y,Maximum X,Maximum Y