Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
directionsService.route({
origin: {'placeId': "ChIJq6qqWiSsEmsRJuIpepyEua4"}
If you look at the example, then you need to know the placeId for the starting point.
// вместо place.place_id вам нужно захардкодить какой-нибудь идентификатор
origin_place_id = place.place_id; // например origin_place_id = "ChIJq6qqWiSsEmsRJuIpepyEua4"
route(origin_place_id, destination_place_id, travel_mode,
directionsService, directionsDisplay);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question