Angular-google-maps: Is it possible to get a dashed polyline icon in the new AGM core version ?

Created on 15 Jul 2019  路  1Comment  路  Source: SebastianM/angular-google-maps

I'm trying to create a polyline icon with dashed symbol. But could'nt achieve it

https://developers.google.com/maps/documentation/javascript/examples/overlay-symbol-dashed ? --> something like this
Is it possible with the current version?

Most helpful comment

 <agm-polyline>

          <agm-polyline-point [latitude]="lat" [longitude]="lng">
          </agm-polyline-point>
          <agm-polyline-point
           [latitude]="latA" 
          [longitude]="lngB"         
          >

          </agm-polyline-point>

          <agm-icon-sequence [strokeColor]="'black'" [repeat]="'10px'" [offset]="0" [strokeWeight]="3"  [scale]="2" [strokeOpacity]="100"  [path]="'M 0,-1 0,1'">
          </agm-icon-sequence>
          </agm-polyline>

This worked for me to achieve

>All comments

 <agm-polyline>

          <agm-polyline-point [latitude]="lat" [longitude]="lng">
          </agm-polyline-point>
          <agm-polyline-point
           [latitude]="latA" 
          [longitude]="lngB"         
          >

          </agm-polyline-point>

          <agm-icon-sequence [strokeColor]="'black'" [repeat]="'10px'" [offset]="0" [strokeWeight]="3"  [scale]="2" [strokeOpacity]="100"  [path]="'M 0,-1 0,1'">
          </agm-icon-sequence>
          </agm-polyline>

This worked for me to achieve

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexweber picture alexweber  路  4Comments

Halynsky picture Halynsky  路  3Comments

Subhojit1992 picture Subhojit1992  路  3Comments

supran2811 picture supran2811  路  4Comments

marcelinobadin picture marcelinobadin  路  3Comments