Please provide your token below and press Submit to load the samples.
The following samples show you how to incorporate the PTV xServers internet map services into interactive JavaScript based map controls. At the very base, PTV xMap Server, PTV WMS Server and even PTV Ajax Maps, each offered through PTV xServer internet, represent valid data sources for a map control.
This sample uses PTV Ajax Maps provided through PTV xServer internet to display the map. Click show source to view the source of the sample.
This sample uses the PTV WMS Adapter provided through PTV xServer internet and the OpenLayers map control to display the map. The sample includes OpenLayer.js from http://openlayers.org/api/OpenLayers.js and implements a background and a foreground layer using the PTV WMS adapter. All code is included in one file. Click show source to view the source of the sample.
This sample uses the PTV xMap client classes and Leaflet to display an interactive map.
The sample includes different files provided through xServer internet and Leaflet:
https://svc-eu-n-test.cloud.ptvgroup.com/xmap/xmap-client.js
https://xmap-eu-n-test.cloud.ptvgroup.com/leaflet/leaflet.ptv.js
http://cdn.leafletjs.com/leaflet-0.7.1/leaflet.css
http://cdn.leafletjs.com/leaflet-0.7.1/leaflet.js
Click show source to view the source of the sample.