0

I draw a polygon between two latitude and longitude but polygon line shows far from road. Polygon line is show far from road

Like the picture above, blue polygon line shows far from road. Where polygon line is draw there is no road. Anyone can help me to draw right polygon between two latitude and longitude.

Thank you!

abielita
  • 13,147
  • 2
  • 17
  • 59

1 Answers1

1

If you want draw a route between two address, you should use Directions API.

or relative to this post google-maps-api-v3-how-show-the-direction-from-a-point-a-to-point-b-blue-line

Community
  • 1
  • 1
Lin Shih Hao
  • 341
  • 1
  • 3
  • 10