Configuring PTV xServer maps
As described in this document, you are able to configure your individual map provider in SAP Visual Business.
There are two possibilities provided in order to setup the required PTV Map:
- One Layer: Map and label information are to be combined and displayed in the same image.
- Two Layers: Map and labels are requested separately and displayed as two layers on top of each other.
Visual Business recommends the usage of a combined layer (containing map and label information) as it is easier in usage. The usage of two layers, e.g. a tiled map layer plus a single pictured label layer is also supported and described as an alternative solution.
See here for a general description of PTV xServer. Please notice that this service (the "PTV xServer internet") is a cloud solution hosted on Microsoft® Windows® Azure.
1. One Layer
Map Configuration
Map Product ID: PTV
Map Provider: PTV
Tile X Pixels: 256
Tile Y Pixels: 256
Min LOD: 1
Max LOD: 22
Copyright Info: Copyright © 2014 PTV AG / TomTom or © 2014 PTV AG / HERE / AND
Advanced Settings:
Retries: 10
Resolution: 256
Map Base:
Top Offset: 20015087
Bottom Offset: -20015087
Left Offset: -20015087
Right Offset: 20015087
Rounding: 0
Lower Border: -10007544
Server URL1
https://xmap-eu-n-test.cloud.ptvgroup.com/WMS/WMS?
REQUEST=GetMap
&width={WIDTH}
&height={HEIGHT}
&bbox={LU_LONG},{RL_LAT},{RL_LONG},{LU_LAT}
&format=image/png
&version=1.1.1
&layers=xmap-plain
&srs=EPSG:505456
&styles=
&xtok=INSERT_YOUR_TOKEN_HERE
2. Two Layers
To configure the maps you have to add two new map products – one for the map and another one for the labels. You also have to define a Map Layer Stack to place both layers on top of each other.
Map Configuration
Map Product ID: PTV
Map Provider: PTV
Tile X Pixels: 256
Tile Y Pixels: 256
Min LOD: 1
Max LOD: 22
Copyright Info: Copyright © 2014 PTV AG / TomTom or © 2014 PTV AG / HERE / AND
Advanced Settings:
Retries: 10
Resolution: 256
Map Base:
Top Offset: 20015087
Bottom Offset: -20015087
Left Offset: -20015087
Right Offset: 20015087
Rounding: 0
Lower Border: -10007544
Server URL1
https://xmap-eu-n-test.cloud.ptvgroup.com/WMS/WMS? REQUEST=GetMap&width={WIDTH}&height={HEIGHT}&bbox={LU_LONG},{RL_LAT},{RL_LONG},{LU_LAT}&format=image/png&version=1.1.1&layers=xmap-ajaxbg&srs=EPSG:505456&styles=
Labels Configuration
Map Product ID: PTV_Labels
Map Provider: PTV_Labels
Tile X Pixels: 256
Tile Y Pixels: 256
Min LOD: 1
Max LOD: 22
Copyright Info: Copyright © 2014 PTV AG / TomTom or © 2014 PTV AG / HERE / AND
Advanced Settings:
Retries: 10
Resolution: 256
Map Base:
Top Offset: 20015087
Bottom Offset: -20015087
Left Offset: -20015087
Right Offset: 20015087
Rounding: 0
Lower Border: -10007544
Server URL1
https://xmap-eu-n-test.cloud.ptvgroup.com/WMS/WMS?REQUEST=GetMap
&width={WIDTH}
&height={HEIGHT}
&bbox={LU_LONG},{RL_LAT},{RL_LONG},{LU_LAT}
&format=image/png&version=1.1.1&layers=xmap-ajaxfg
&srs=EPSG:505456&styles=
&xtok=INSERT_YOUR TOKEN_HERE
MapLayerStack Definition
MapLayerStack name="layerStackPTV"
MapLayer Name: layer1
Background Color: RGB(255,255,255)
Opacity %: 100
Map Product ID: PTV
MapLayer Name: layer2
Background Color: RGB(255,255,255)
Opacity %: 75
Map Product ID: PTV_Labels
Layer Dependency: flexible
Single Picture Layer: true