Sample use cases for PTV FeatureLayer, run it on https://ptv-logistics.github.io/fl-labs/
To use this code, you need an installed PTV xRoute/xLocate/xMap or an xServer internet subscription. Go to https://xserver.ptvgroup.com/en-uk/products/ptv-xserver-internet/test/ to get a trial token.