GIScience / openrouteservice-js

:pushpin: The JavaScript API to consume openrouteservice(s) painlessly!
https://openrouteservice.org
Apache License 2.0
191 stars 35 forks source link

add OrsOptimization #56

Closed EmmaHegarty closed 1 year ago

EmmaHegarty commented 1 year ago

Adds support for Optimization Service on the basis of the current main branch, requested in https://github.com/GIScience/openrouteservice-js/issues/38 and initially added in https://github.com/GIScience/openrouteservice-js/pull/45 .

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

codecov-commenter commented 1 year ago

Codecov Report

Merging #56 (9702a39) into main (b37311c) will increase coverage by 0.17%. The diff coverage is 88.00%.

@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
+ Coverage   84.21%   84.38%   +0.17%     
==========================================
  Files          15       16       +1     
  Lines         342      365      +23     
  Branches       65       68       +3     
==========================================
+ Hits          288      308      +20     
- Misses         43       45       +2     
- Partials       11       12       +1     
Impacted Files Coverage Δ
src/index.js 71.42% <ø> (ø)
src/OrsOptimization.js 86.95% <86.95%> (ø)
src/OrsElevation.js 90.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.