What format does Google Map Directions' dynamic Waypoint expect?

Hi,

I’m trying to populate Waypoints (under Dynamic Attributes) with a list of addresses pulled from a database query.

It seems like Waypoints (under Dynamic Attributes) would work if I input either

[“New York”, “Boston”]

or

“New York | Boston”

However, if I just use the query output from the server connect (which is tied to the database query), Waypoints would be populated with the following and no waypoints are shown on the map.

{“query1”:[
{“Address”:“New York”},
{“Address”:“Boston”}
]}

What’s the best way of populating Waypoints with the right content from the query? Should I try to convert the. I would like to use Address rather than Lat/Lng.

Thanks!

1 Like