The V2 API (in MapViewer versions 126.96.36.199.0 and 188.8.131.52.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