An open API service indexing awesome lists of open source software.

https://github.com/ptv-logistics/xserverjs

JavaScript Samples for PTV xServer
https://github.com/ptv-logistics/xserverjs

d3 javascript leaflet openlayers ptv-xserver

Last synced: 4 months ago
JSON representation

JavaScript Samples for PTV xServer

Awesome Lists containing this project

README

          

# xserver.js

![xServer compatible!](https://img.shields.io/badge/xServer-1.18%2B%2F2.x-blue.svg?style=flat)
![Leaflet compatible!](https://img.shields.io/badge/Leaflet-0.7.7%2F1.x-blue.svg?style=flat)

JavaScript samples for [PTV xServer](http://xserver.ptvgroup.com/home/ptv-xserver-en/)

Live demo https://ptv-logistics.github.io/xserverjs/

## Usage

* Clone the repository or download the zip file
* Add your xserver-internet token at token.js
* To use samples with your on-premise xServer, replace the urls in the corresponding index.html file for your xServer url.
* **Note:** Some samples need to access local files via ajax. If you want to load your own data, they have to be hosted inside a web server.

## Direct Links to the Documentation
* Templates
* [Basic map integration for xMap-1](https://github.com/ptv-logistics/xserverjs/blob/master/boilerplate/xmap-1/)
* [Basic map integration for xMap-2](https://github.com/ptv-logistics/xserverjs/blob/master/boilerplate/)
* [leaflet-xserver](https://github.com/ptv-logistics/leaflet-xserver)
* Premium Samples
* xServer Routing Machine
* [xServer-1](https://github.com/ptv-logistics/xserverjs/tree/master/premium-samples/lrm-xserver/xserver-1)
* [xServer-2](https://github.com/ptv-logistics/xserverjs/tree/master/premium-samples/lrm-xserver/xserver-2)
* [premium sample poi-locator](https://github.com/ptv-logistics/xserverjs/tree/master/premium-samples/poi-locator/)
* [premium sample admin-regions](https://github.com/ptv-logistics/xserverjs/tree/master/premium-samples/admin-regions/)

History
-------

18/01/17
* Initial release