Open amzada opened 1 month ago
Hey @pjleonard37 👋 could you please take a look at this one?
Hi all --
Mapbox Standard introduced a new basemap approach that changed how layers are handled at runtime. As you've identified, this means that the localizeLabels()
approach to translating map labels does not work for these styles.
We're working on a different approach to translating map labels for Standard and Standard Satellite and hope to share additional information soon.
Environment
Observed behavior and steps to reproduce
Calling
localizeLabels()
does not localize labels for standard and new satellite map style. Does however work for custom map styles + traffic map styleExpected behavior
Calling
localizeLabels()
should localize labels for all map stylesNotes / preliminary analysis
internal func
convertExpressionForLocalization
called as part oflocalizeLabels()
returns nilAdditional links and references