Search for content

Tutorials

Find tutorials that will help you to build applications in no time 

 

Getting started

Using one of the tutorials is simple. Just follow the steps below to get started:

  • Register a MyPTV account
  • Activate your free subscription of PTV Developer
  • Choose one of the tutorials by either scrolling the page or using the navigation on the left hand side
  • Go through a step-by-step tutorial
  • Check the API Keys App to get your API key which is used to authenticate
  • Substitute the placeholder in the source code with your API Key
  • Launch the application

General

Postman and PTV Developer

  • Easily test PTV Developer APIs with the use of Postman

Asynchronous Requests

  • Learn how to use asynchronous Requests with PTV Developer APIs

Generate Clients

  • Generate clients for PTV Developer APIs

Microsoft Excel and PTV Developer

  • Learn how to use PTV Developer APIs in Microsoft Excel

Map Matching

Position Matching

  • Match a click location on the map using the MapMatch API

Map Rendering

Vector Map React App

  • Create a basic Vector Map with React

Vector Map with Restrictions

  • Display a simple example for rendering truck restrictions

Raster Map with Leaflet

  • Render a map with Leaflet and the Raster Map API

Raster Map with OpenLayers

  • Render a map with OpenLayers and the Raster Map API

Vector Map with Satellite Tiles

  • Render a map based on satellite image tiles with a transportation layer
 

Matrix Routing

Calculate a Matrix

  • Create a matrix calculation app with the help of the Matrix Routing API

Routing

A-B Routing

  • Create a simple routing app using the Routing API

Toll Routing

  • Create a toll routing app using the Routing API

Emissions Routing

  • Create an emissions routing app using the Routing API

Block Intersecting Roads

  • Create a routing app which deals with block intersecting roads using the Routing API

Reachable Areas

  • Create an app to calculate reachable areas using the Routing API
 

Route Optimization

Pickups and Deliveries

  • Specify transports and optimize them with the help of the Route Optimization API

Depot Based Transports

  • Specify depot based transports and optimize them with the help of the Route Optimization API

Loading Space Optimization

Bin packing

  • Create an app to request the Loading Space Optimization API, and display the result in a 3D viewer.