The V2 API (in MapViewer versions 18.104.22.168.0 and 22.214.171.124.1) currently has some limitations in styles that can be used for vector layers (aka FOI). That is, some styles which can be defined in MapBuilder and used for FOI with the V1 API cannot be used for vector layers in V2.
The current limitations are:
LINE styles in v2 have these limitations:
1. no dash support (on any part of the line style)
2. no marker-pattern or built-in arrow head on LINE style
AREA styles that use image as fill pattern: not supported
TEXT styles: some labeling hints are not supported, such as sticky,
DOT density style: not supported in v2