Questions tagged [agm-direction]

Agm-Direction is the directive for @agm/core (not official)

How to use?

Start Reading

Installation


Installation is done using the npm install command:

  • Install @agm/core

npm install --save @agm/core

  • Install agm-direction

npm install --save agm-direction

Document


7 questions
1
vote
1 answer

Why am i getting InvalidValueError: in property origin: must set one of location, placeId or query error in angular?

In my angular10 app i am using agm core to show google maps. component.html
Fahad Subzwari
  • 2,109
  • 3
  • 24
  • 52
1
vote
1 answer

Trying to change agm direction waypoints marker's icon ONLY

I developing a project where I am using from angular google map api. Actually I want to display a direction which has an origin, a destination and between those some waypoints/stepover. Please find my object below: public…
Dayvid Kelly
  • 114
  • 12
1
vote
0 answers

AgmDirection visible binding not working properly

In my project I am showing map with 10 routes. I have flag called 'visible' for every route which is bound with agm-direction tag. On button click event I set some of the flags to false. Sometimes it works just fine by hiding routes for which flag…
0
votes
0 answers

How to attach a Click event on origin and destination markers of agm-directions?

I have to display a custom panel above the maps to show details on click of origin and destination marker. enter image description here
0
votes
1 answer

Agm direction panel: Show panel in different component

I have two components that display on one page (first is 70% of the page, the other 30%). One in which the map is and another where I want to show the panel (info on how to get to the destination: turn left, then right, etc.) I used agm-directions…
IkePr
  • 900
  • 4
  • 18
  • 44
0
votes
2 answers

How to render info window content dynamically

I'm using the agm-direction package to display route information on the agm-map (https://www.npmjs.com/package/agm-direction). I would like to know how I can render the content of the infowindow for especially the origin marker: the output looks…
Rob Angelier
  • 2,335
  • 16
  • 29
0
votes
1 answer

Multiple directions with multiple colors in Agm-Direction

I am using Agm-Direction with Angular Google Maps to draw driving path between two points.
Bishan
  • 15,211
  • 52
  • 164
  • 258