You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GeoApiContext - Mobility - Failed to set the trip ID (Mobility Solution) via .experienceIdHeaderValue() #993
We are going to manage trips for our mobility project and referring this documentation to report the trip IDs (aka Experience IDs) but failed. It seems like there is no such method experienceIdHeaderValue. I created a GMP support ticket before but they asked me to report this issue here. Could you help on this?
Meanwhile, we'd like to know if we are allowed to set GMP request header for tripID by our own via the following part,
Please find our screencaps for the experienceIdHeaderValue part in the attachment.
Translation of the image Java: cannot find symbol
symbol: method experienceIdHeaderValue(java.lang.String)
location: class com.google.maps.GeoApiContext.Builder
Since v2.0.0, the new method of setting Experience IDs is to set them on the GeocodingApiRequest instead of GeoApiContext, as demonstrated in the GeocodingApiTest.java (see Javadoc).
Activity
GISerSi commentedon Jul 15, 2024
hi there, any luck for this issue?
wangela commentedon Dec 23, 2024
Since v2.0.0, the new method of setting Experience IDs is to set them on the
GeocodingApiRequestinstead ofGeoApiContext, as demonstrated in the GeocodingApiTest.java (see Javadoc).We've made a request to update the documentation code snippet you linked to.