Creating polylines
Use the polyline component to create a new polyline.
<GMap
@lat="51.507568"
@lng="-0.127762"
@zoom=
@styles= as |map|>
<map.polyline
@path=
@geodesic=
@strokeColor="orange"
@strokeOpacity=
@strokeWeight= />
</GMap>
Test Click on the map to append new points to the polyline!
Let’s learn how to add info windows or tooltips to the map.
Info windows ›