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
The default day and night styles defined by this library’s MGLStyle extension should account for the different styles available on the .cn endpoint. Specifically, since the Mapbox Navigation Guidance Day/Night styles are currently unavailable on api.mapbox.cn, these methods should return the style URLs for Mapbox Streets Chinese (or Mapbox Light Chinese?) and Mapbox Dark Chinese, respectively.
mapbox/mapbox-gl-native#12417 would make it easier to check the current API base URL. Until that feature is implemented, the API base URL is static anyways, so we can just consult the Bundle directly.
The default day and night styles defined by this library’s MGLStyle extension should account for the different styles available on the .cn endpoint. Specifically, since the Mapbox Navigation Guidance Day/Night styles are currently unavailable on api.mapbox.cn, these methods should return the style URLs for Mapbox Streets Chinese (or Mapbox Light Chinese?) and Mapbox Dark Chinese, respectively.
mapbox-navigation-ios/MapboxNavigation/MGLStyle.swift
Line 7 in 6f13eeb
mapbox/mapbox-gl-native#12417 would make it easier to check the current API base URL. Until that feature is implemented, the API base URL is static anyways, so we can just consult the Bundle directly.
/cc @m-stephen
The text was updated successfully, but these errors were encountered: