Skip to content

Options not working #9

@Ed-zo

Description

@Ed-zo

There seems to be some kind of problem when I'm trying to install this package using NPM. I found the problem. This method is missing a return keyword.

   _stringifyOptionsArray: function(array) {
         array.map(function(value) { return value === null && '' || value; }).join(';')
  },

This caused that options like sources or destinations were not added to the URL so they did not work. I looked at file on the github and the return is there. First I tought that I deleted it by a mistake and I didn't notice it but after I tried to install my project onto another machine the return was missing again. I don't mind the problem, I fixed it in my sources but if anybody else has problem with options not working have a look in the file src/osrm.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions