I have two maps on my site at www.bromleysymphony.org (a rehearsal location and a performance location). Each works on its own, but when both are active, directions to one of the locations always fails with the popup message "Error: At least one of the origin, destination or waypoints could not be geocoded". This seems to happen regardless of the value in the "Starting from" form field.

I am using a php echo getdirections_latlon('to', ...) to display the map forms. The instance that succeeds is the one where the latitude and longitude in that call match the default center coordinates in the "Map centre" box under Configuration » Web services » Get directions. If I simply change that entry to match the other instance, it works (but the first instance then fails, obviously).

This seems to be a bug in the "starting from" logic.

Comments

philmck created an issue. See original summary.

hutch’s picture

In order to attempt to replicate this I need to know which js you are using, you have aggregation switched on so I can't see which one, getdirections_v3.js, getdirections_v3a.js or getdirections_v3b.js . I would also want to see the whole "echo" statement, I have not tried that way.
I see in the source HTML that the form is being munged by "hashcash", whatever that is, this may be interfering with things.

hutch’s picture

Status: Active » Postponed (maintainer needs more info)