GuidesAPI Reference
Guides

How to share settings

Share settings that are applied by the HERE WeGo Mobile app or HERE WeGo Web.

Vehicle parameters

By specifying path truck parameters, vehicle dimensions can be set. The available parameters are:

  • vw: total weight (in kg)
  • vdh: vehicle height (in cm)
  • vdl: vehicle length (in cm)
  • vdw: width (in cm)

Example

The following share link sets vehicle dimensions to height of 350cm, length of 820cm, width of 195cm and a total weight of 4890kg.

https://share.here.com/s/truckparams?m=tr&vdh=350&vdl=820&vdw=195&vw=4890

Hazardous materials

By specifying query truck params, hazardous materials can be set.

The key name for parameter is

  • hmr: hazardous material restriction

WeGo mobile app accepts names of the HazardousMaterial enum from the HERE SDK.

Values have to be comma separated without whitespaces. Last value should not have leading comma.

Example

The following share link sets following hazardous materials: HazardousMaterial.harmfulToWater and HazardousMaterial.flammable.

https://share.here.com/s/truckparams?m=tr&hmr=harmfulToWater,flammable

Tunnel category

By specifying query truck params, tunnel category can be set. The key name for parameter is

  • tcr: tunnel category restriction

WeGo mobile app accepts A, B, C, D, E tunnel categories. Values are not case sensitive. a, b, ..., e would work as well.

Example

The following share link sets tunnel category to c.

https://share.here.com/s/truckparams?m=tr&tcr=c