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
#2873 implemented runtime styling of route duration annotations by hard-coding JSON-formatted strings, deserializing them as JSON-formatted dictionaries, and using a private map SDK API to pass these raw dictionaries into the style. Instead, we should initialize the map SDK’s type-safe Expression type, which is analogous to NSExpression in map SDK v6.x but more consistent with the style specification.
Agree completely. The issue is that currently there are some properties, such as 'symbol-sort-key', 'icon-anchor', 'text-anchor' and a few more where the iOS expression implementation doesn't support data driven styling, only some fixed constant values that it provides.
Once that is addressed then we should remove any use of private styling in favor of the suggested and officially supported methods.
The issue is that currently there are some properties, such as 'symbol-sort-key', 'icon-anchor', 'text-anchor' and a few more where the iOS expression implementation doesn't support data driven styling, only some fixed constant values that it provides.
The issue is that currently there are some properties, such as 'symbol-sort-key', 'icon-anchor', 'text-anchor' and a few more where the iOS expression implementation doesn't support data driven styling, only some fixed constant values that it provides.
#2873 implemented runtime styling of route duration annotations by hard-coding JSON-formatted strings, deserializing them as JSON-formatted dictionaries, and using a private map SDK API to pass these raw dictionaries into the style. Instead, we should initialize the map SDK’s type-safe
Expression
type, which is analogous to NSExpression in map SDK v6.x but more consistent with the style specification.mapbox-navigation-ios/Sources/MapboxNavigation/NavigationMapView.swift
Lines 1054 to 1064 in 62b1622
/cc @mapbox/navigation-ios @avi-c
The text was updated successfully, but these errors were encountered: