Answer the question
In order to leave comments, you need to log in
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?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question