Question
You are using XMap (xServer) and want to know which API in PTV Developer should be used as a replacement
Answer
There is no single direct replacement for XMap in PTV Developer.
Its functionality is split into multiple specialized APIs.
Available Alternatives
➤ Raster Maps API
- Provides static map images
- Similar to traditional map rendering
https://developer.myptv.com/en/documentation/raster-maps-api
➤ Vector Maps API
- Provides interactive maps
- Used with frameworks like MapLibre GL JS
- Supports styling, layers, and dynamic rendering
https://developer.myptv.com/en/documentation/vector-maps-api
How to choose
| Use case | API |
|---|---|
| Static images | Raster Maps API |
| Interactive web maps | Vector Maps API |
Additions hints
- XMap was a monolithic service, while PTV Developer uses a modular architecture.
- You may need to combine:
- Vector Maps
- Routing
- Data APIs
- Migration often requires frontend adaptation (e.g. MapLibre integration).
Related articles
PTV xServer1: How to migrate callerContext parameters from xServer 1 to PTV Developer APIs?