61 results have been found
Reachable Areas
/en/resources/tutorials/routing/reachable-areas
In this tutorial you will learn how a Reachable Areas Routing App is implemented that uses the calculation of reachable areas from one specific position. It will allow to display a map, click on a location anywhere on the map and calculate areas around …
Block Intersecting Roads
/en/resources/tutorials/routing/block-intersecting-roads
In this tutorial you will learn how to implement a Block Intersecting Roads Routing App . It will allow to display a map, add polylines to block the intersecting roads, and calculate a route taking into account the blocked roads or not. The aim of the …
A-B Routing
/en/resources/tutorials/routing/ab-routing
In this tutorial you will learn how a basic Routing App is implemented. It will allow to display a map, enter addresses for start and destination and find the optimal route between these waypoints. To concentrate on the basic principles, all other …
Emission Calculation
/en/resources/tutorials/routing/emissions-routing
In this tutorial you will learn how an Emission Calculation App is implemented. It will allow to display a map, select a vehicle and an emission method, and calculate a route with emissions between waypoints. The aim of the code examples is to illustrate …
Toll Calculation
/en/resources/tutorials/routing/toll-routing
In this tutorial you will learn how a Toll Calculation App is implemented. It will allow to display a map, select and calculate a route with toll between waypoints. The aim of the code examples is to illustrate the use of the toll use case of PTV …
Calculate Reachable Areas Synchronously (OSM)
/en/documentation/routing-osm-api/code-samples/reachable-areas/calculate-reachable-areas-synchronously
Calculate Reachable Areas Synchronously | Routing API Documentation | PTV Developer GET Latitude A Longitude A Horizon type DISTANCE No Value TRAVEL_TIME DISTANCE Horizons Driving direction OUTBOUND No Value OUTBOUND INBOUND Profile No Value No value …
Calculate Reachable Areas Asynchronously (OSM)
/en/documentation/routing-osm-api/code-samples/reachable-areas/calculate-reachable-areas-asynchronously
Calculate Reachable Areas Asynchronously | Routing API Documentation | PTV Developer POST Latitude A Longitude A Horizon type DISTANCE No Value TRAVEL_TIME DISTANCE Horizons Driving direction OUTBOUND No Value OUTBOUND INBOUND Profile No Value No value …
Fetch Reachable Areas (OSM)
/en/documentation/routing-osm-api/code-samples/reachable-areas/fetch-reachable-areas
Fetch Reachable Areas | Routing API Documentation | PTV Developer GET Reachable area ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell …
Delete Reachable Areas (OSM)
/en/documentation/routing-osm-api/code-samples/reachable-areas/delete-reachable-areas
Delete Reachable Areas | Routing API Documentation | PTV Developer DELETE Reachable area ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // …
Vector Map Overlays React App
/en/resources/tutorials/map-rendering/vector-map-overlays-react-app
You will learn how a basic Vector Map with Overlays is implemented. Try it! Download from GitHub … Prerequisites Basic knowledge of JavaScript, React and npm. Helpful: Basic knowledge of React Map GL and MapLibre GL JS . … Getting started Read up on the …
Model based (EV) consumption calculation - [PREVIEW]
/en/documentation/routing-api/concepts/model-based-ev-consumption-calculation-preview
This feature is in a preview state, the API is stable, feature changes could be introduced in future. General Idea With the fast-growing importance of alternative electric and hybrid vehicles in logistics it is vital to understand how these vehicles …
Combine Vector Map and Raster Map
/en/resources/tutorials/map-rendering/combine-vector-map-and-raster-map
In this tutorial you will learn how to mash up different technologies in an interactive Vector Map with Raster Map Restriction Data . It will allow to display a map and visualize clickable truck restrictions like weight limits or truck-bans in inner …
Electricity Consumption - [PREVIEW]
/en/documentation/routing-api/code-samples/routing/electricity-consumption-preview
Electricity Consumption | Routing API Documentation | PTV Developer POST Latitude A Longitude A Latitude B Longitude B Charging power [kW] Setup time [s] kWh price [EUR] Current Type Direct Alternating Direct Latitude C Longitude C Vehicle Model Id [UUID] …
Vector Maps Overlays API Reference
/en/documentation/vector-maps-api/vector-maps-overlays-api-reference
{ "openapi": "3.0.1", "info": { "title": "Vector Maps Overlays", "description": "With the Vector Maps service you can render geographical vector tiles with your own renderer.", "version": "1.0", "contact": { "url": "https://developer.myptv.com/" } }, …
Delete Reachable Locations
/en/documentation/routing-api/code-samples/reachable-locations/delete-reachable-locations
Delete Reachable Locations | Routing API Documentation | PTV Developer DELETE Reachable locations ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java …
Fetch Reachable Locations
/en/documentation/routing-api/code-samples/reachable-locations/fetch-reachable-locations
Fetch Reachable Locations | Routing API Documentation | PTV Developer GET Reachable locations ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // …
Calculate Reachable Locations
/en/documentation/routing-api/code-samples/reachable-locations/calculate-reachable-locations
Calculate Reachable Locations | Routing API Documentation | PTV Developer POST Waypoint Latitude Longitude Location 1 Latitude Longitude Location 2 Latitude Longitude Horizon type DISTANCE No Value TRAVEL_TIME DISTANCE Horizon Driving direction OUTBOUND …
Fetch Reachable Areas
/en/documentation/routing-api/code-samples/reachable-areas/fetch-reachable-areas
Fetch Reachable Areas | Routing API Documentation | PTV Developer GET Reachable area ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell …
Delete Reachable Areas
/en/documentation/routing-api/code-samples/reachable-areas/delete-reachable-areas
Delete Reachable Areas | Routing API Documentation | PTV Developer DELETE Reachable area ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // …
Calculate Reachable Areas Asynchronously
/en/documentation/routing-api/code-samples/reachable-areas/calculate-reachable-areas-asynchronously
Calculate Reachable Areas Asynchronously | Routing API Documentation | PTV Developer POST Latitude A Longitude A Horizon type DISTANCE No Value TRAVEL_TIME DISTANCE Horizons Driving direction OUTBOUND No Value OUTBOUND INBOUND Profile No Value No Value …
Interactive Address Search - [PREVIEW]
/en/resources/tutorials/geocoding/interactive-address-search-preview
You will learn how an address search control is implemented and how to display the results on a map. The tutorial illustrates the use of the PTV Developer Geocoding API and the PTV Developer Vector Maps API . Try it! Download from GitHub … Prerequisites …
Emission Allocation Method
/en/documentation/routing-api/concepts/emission-allocation-method
Introduction The purpose of this page is to explain the allocation method in accordance with the international recommended guidelines described in the GLEC framework . The goal of this method is to distribute the emissions emitted during a trip between …
Emissions
/en/documentation/routing-api/concepts/emissions
When a vehicle is moving, the fuel or electricity consumption releases various pollutants into the atmosphere. In several countries, companies are subject to laws aimed at limiting global warming and improving air quality. Depending on the country's law, …
Creating a Localized Map App
/en/documentation/vector-maps-api/code-samples/creating-localized-map-app
In this tutorial we extend the Map App code sample to display a localized map based on vector tiles from PTV Developer. Showing a localized map in a browser All supported languages are listed in the Languages concept. Localized labels are available for …
Service Times and Opening Intervals
/en/documentation/routing-api/code-samples/routing/service-times-and-opening-intervals
Service Times and Opening Intervals | Routing API Documentation | PTV Developer POST Waypoint A Latitude A Longitude A Waypoint B All attributes will be applied to waypoint B. The Opening Interval will applied for the next three days Latitude B …