You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
A map feedback form powered by GL JS will be available as an alternative to the mapbox.js-powered Map Feedback tool. We’ll want to move the native SDKs over to the new tool, even when the relevant TileJSON attribution still specifies the original tool, because the new tool will more closely match what the user sees on screen before reporting an issue.
Just as mapbox.js was able to pass the map ID into the original tool, we’ll be able to pass a style ID into the new tool. mapbox/mapbox-gl-js#4685 passes in the (undocumented) owner and id properties at the root of the style JSON object. That would require adding additional parsing logic along the lines of #6002. But a simpler approach would be to extract the owner and ID from the style URL, as long as it’s a mapbox: URL. After all, the feedback tool would use that very mapbox: URL to load the style in GL JS.
There are separate implementations of the map feedback button on Android and iOS/macOS. Note that this work is distinct from #6001 for iOS and #6013 for Android, but it may help us prepare for those features.
A map feedback form powered by GL JS will be available as an alternative to the mapbox.js-powered Map Feedback tool. We’ll want to move the native SDKs over to the new tool, even when the relevant TileJSON attribution still specifies the original tool, because the new tool will more closely match what the user sees on screen before reporting an issue.
Just as mapbox.js was able to pass the map ID into the original tool, we’ll be able to pass a style ID into the new tool. mapbox/mapbox-gl-js#4685 passes in the (undocumented)
ownerandidproperties at the root of the style JSON object. That would require adding additional parsing logic along the lines of #6002. But a simpler approach would be to extract the owner and ID from the style URL, as long as it’s a mapbox: URL. After all, the feedback tool would use that very mapbox: URL to load the style in GL JS.There are separate implementations of the map feedback button on Android and iOS/macOS. Note that this work is distinct from #6001 for iOS and #6013 for Android, but it may help us prepare for those features.
/cc @mollymerp @tristen @tobrun