Skip to content

Commit 256345b

Browse files
committed
merged master
2 parents fc2cc1c + 3c1c496 commit 256345b

61 files changed

Lines changed: 8566 additions & 3415 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/push_dist_to_npm.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@ jobs:
1313
contents: read
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717

1818
- name: Setup Node.js
19-
uses: actions/setup-node@v4
19+
uses: actions/setup-node@v6
2020
with:
2121
node-version: v24.12.0
2222

2323
- name: Build
2424
run: |
2525
npm --version
2626
# GHVERSION=0.0.0-$(git rev-parse HEAD)
27-
GHVERSION=0.0.0-$(git rev-parse --short=8 HEAD)
27+
GHVERSION=0.0.0-$(git rev-parse --short=7 HEAD)
2828
npm version --git-tag-version=false $GHVERSION
2929
# limit distribution to the dist folder (just for this build), and set package name
3030
node -e "const packageJson=require('./package.json'); packageJson.files=['dist/']; packageJson.name='@graphhopper/graphhopper-maps-bundle'; require('fs').writeFileSync('package.json', JSON.stringify(packageJson, null, 4));"
31-
npm ci
31+
npm ci --ignore-scripts
3232
npm run build
3333
# no dependencies or scripts in package.json (they should not be installed when installing the package, because they are all included in the bundle already)
3434
node -e "const packageJson=require('./package.json'); packageJson.scripts={}; packageJson.dependencies={}; packageJson.devDependencies={}; require('fs').writeFileSync('package.json', JSON.stringify(packageJson, null, 4));"
3535
# we need to set the access to public, because organization scoped packages are private by default
36-
npm publish --access public --tag commit
36+
npm publish --access public --tag commit

.github/workflows/test_and_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout
9-
uses: actions/checkout@v4
9+
uses: actions/checkout@v6
1010

1111
- name: Setup Node.js
12-
uses: actions/setup-node@v4
12+
uses: actions/setup-node@v6
1313
with:
1414
node-version: v24.12.0
1515

1616
- name: Test and Build
1717
run: |
18-
npm ci
18+
npm ci --ignore-scripts
1919
npm run test
2020
npm run build

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ A route planner user interface for the [GraphHopper routing engine](https://gith
44

55
[Try it out](https://graphhopper.com/maps/)!
66

7-
We have developed an intuite and simple user interface to find routes:
7+
We have developed an intuitive and simple user interface to find routes:
88

9-
[![GraphHopper Maps route planner](https://www.graphhopper.com/wp-content/uploads/2025/06/graphhopper-maps-2025.png)](https://graphhopper.com/maps/)
9+
[![GraphHopper Maps route planner](https://www.graphhopper.com/wp-content/uploads/2026/03/maps-screenshot.png)](https://graphhopper.com/maps/)
1010

1111
With autocomplete, alternative routes, information along the route and POI search and everything available in all major browsers including mobile browsers. Read more details about it [here](https://www.graphhopper.com/maps-route-planner/).
1212

config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const config = {
4040
//
4141
// profiles: {
4242
// car:{}, small_truck:{}, truck:{}, scooter:{},
43-
// foot:{ details: ['foot_network', 'access_conditional', 'foot_conditional', 'hike_rating'] }, hike:{ details: ['foot_network', 'access_conditional', 'foot_conditional', 'hike_rating' ] },
44-
// bike:{ details: ['get_off_bike', 'bike_network', 'access_conditional', 'bike_conditional', 'mtb_rating' ] }, mtb:{ details: ['get_off_bike', 'bike_network', 'access_conditional', 'bike_conditional', 'mtb_rating'] }, racingbike:{ details: ['get_off_bike', 'bike_network', 'access_conditional', 'bike_conditional', 'mtb_rating'] },
43+
// foot:{ details: ['foot_network', 'access_conditional', 'foot_conditional', 'hike_rating', 'sidewalk', 'urban_density'] }, hike:{ details: ['foot_network', 'access_conditional', 'foot_conditional', 'hike_rating', 'sidewalk', 'urban_density' ] },
44+
// bike:{ details: ['get_off_bike', 'bike_network', 'access_conditional', 'bike_conditional', 'mtb_rating', 'cycleway', 'urban_density' ] }, mtb:{ details: ['get_off_bike', 'bike_network', 'access_conditional', 'bike_conditional', 'mtb_rating', 'cycleway', 'urban_density'] }, racingbike:{ details: ['get_off_bike', 'bike_network', 'access_conditional', 'bike_conditional', 'mtb_rating', 'cycleway', 'urban_density'] },
4545
// }
4646
//
4747
// E.g. the 'bike' entry will add a "bike" profile for which we send a request with the specified 'details' parameter. You can even change the profile itself when you specify
@@ -71,4 +71,4 @@ const config = {
7171
}
7272

7373
// this is needed for jest (with our current setup at least)
74-
if (module) module.exports = config
74+
if (typeof module !== 'undefined') module.exports = config

0 commit comments

Comments
 (0)