Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はGoogleマップAPIについてあまり知りませんが、今学んでいます。ここで説明する例を使用すると、2つの場所の間に地図を描くことができます。しかし、私はvia場所を含めることが可能かどうか知りたいだけです..これに関する助けは..?
via
waypoints以下のよう に使用して解決しました
waypoints
var request = { origin: "Mumbai, India", destination: "Pune, India", waypoints: [{ location: "Via point address", stopover: true}], travelMode: google.maps.DirectionsTravelMode.DRIVING };
ありがとう