You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set the origin and destination markers for a DirectionsRequest to white circles. To do this I am trying to set the DirectionsRendererOptions.MarkerOptions.Icon to a new Symbol() object.
Uncaught Error: First instruction in path must be "moveto".
at UZa.Fg (util.js:236:498)
at jYa (marker.js:20:64)
at kYa (marker.js:19:168)
at UZa.Hg (marker.js:76:674)
at common.js:90:222
If I remove the Icon = new Symbol() code, the error goes away (but I get the default markers for the origin and destination).
I'm trying to set the origin and destination markers for a DirectionsRequest to white circles. To do this I am trying to set the
DirectionsRendererOptions.MarkerOptions.Icon
to anew Symbol()
object.The code looks like the following:
The error I'm getting is the following:
If I remove the
Icon = new Symbol()
code, the error goes away (but I get the default markers for the origin and destination).This issue appears similar to #392.
The text was updated successfully, but these errors were encountered: