A
A
Alexey2015-07-07 13:03:13
JavaScript
Alexey, 2015-07-07 13:03:13

How to make a polyline of arbitrary width on Google Maps?

When building a route on Google Maps, we get a line going from point A to point B.
Task: to make this line as wide as 5 km, for example. The google.maps.Polyline
object has the ability to change the google.maps.PolylineOptions property strokeWeight , which is responsible for the width of the drawn line in pixels. But the problem is that this parameter has a limitation and it is impossible to make, for example, a line width of 100px. Here is an example of what I would like to get: How to implement it?
da9079ad781444888167542410b8d1fe.jpg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question