-
Notifications
You must be signed in to change notification settings - Fork 3
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 alternate Mapbox error fix #1296
Conversation
@@ -53,7 +53,7 @@ const ProjectSummaryMap = ({ data }) => { | |||
ref={mapRef} | |||
initialViewState={initialViewState} | |||
style={{ width: "100%", height: "60vh" }} | |||
mapStyle={basemaps.streets.mapStyle} | |||
mapStyle={basemaps[basemapKey].mapStyle} |
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.
this is a small fix that I snuck it. The satellite layer in the summary map is working just like in the components map in production, but, in the deploy preview, the layer wouldn't toggle to satellite.
"not ie 11", | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
"not op_mini all", | ||
"not safari < 10", | ||
"not chrome < 51", | ||
"not android < 5", | ||
"not ie < 12" | ||
], | ||
"development": [ | ||
">0.3%", | ||
"not ie 11", | ||
"not dead", | ||
"not op_mini all" | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" |
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.
thank you
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.
Looks great and tests out perfect. 🚢🚢🚢
Thanks Mike!
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.
🚢 👏🏻 🔎 🗺️
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.
thanks!
thanks y'all! |
Associated issues
cityofaustin/atd-data-tech#16245
When we first added
react-map-gl
v7 during the project components overhaul, there was a error that was fixed using the workaround described in the code here. This implements the recommended fix, and it is the same one used map upgrade in cityofaustin/vision-zero#1398.Testing
URL to test:
https://deploy-preview-1296--atd-moped-main.netlify.app/moped/
Steps to test:
Ship list
Added to QA test script if applicable