-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use @mapbox/gazetteer for benchmark coordinates #8063
Conversation
🤔 It's not clear to me why tests are failing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bench changes look good (aside from the test failures), but did you accidentally ran yarn upgrade
? The amount of changes in yarn.lock
is not expected. This might be the cause of the test failures.
@mourner hmm I don't think I did? I just tried blowing away |
You may need to just update Yarn. That fixed this issue for me. |
@ryanhamley that seemed promising but there are still no changes against |
@tristen do not delete the |
bench/lib/style_locations.js
Outdated
@@ -1,3 +1,5 @@ | |||
/* eslint camelcase: 0 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just do feature.properties['place_name']
instead.
package.json
Outdated
@@ -15,6 +15,7 @@ | |||
"dependencies": { | |||
"@mapbox/appropriate-images-react": "^1.0.0", | |||
"@mapbox/dr-ui": "0.6.0", | |||
"@mapbox/gazetteer": "^3.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be in devDeps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oy ... me and yarn today :/
* release-liquid: (84 commits) v0.54.0 (take two) (#8184) Fix disappearing controls in Safari 12+ (#8193) (#8194) [docs] token refactor in docs-page-shell (#8174) (#8181) v0.54.0-beta.2 (#8166) Bugfix - removeFeatureState fails with target.id === 0 (#8150) (#8164) update one more frame after canvas source paused (#8130) (#8163) move docs dependencies to dev (#8121) (#8129) v0.54.0 (#8115) CP removeFeatureState fix (#8090) v0.54.0-beta.1 (#8084) Allow setStyle diff by default with localIdeographFontFamily on (#8081) Upgrade various (mostly dev) deps, downgrade GL (#8078) Fix default marker positioning (#8074) Use @mapbox/gazetteer for benchmark coordinates (#8063) bump react-dom to v16.3.3 to fix minor vulnerability warning Fix and refactor the benchmark suite (#8066) Add max width for popups (#7906) Extrusions: Do not try to triangulate non-polygon type features (#7685) docs fixes after the merge limit flow max_workers and upgrade to v0.95.1 (#8061) ...
Replace
bench/lib/style_locations.js
with the same place data made available in@mapbox/gazetteer
.@ansis thanks for the tip to use
MercatorCoordinate.fromLngLat
to derive tile index. Could I get you to review this?Closes #8059