Interface

VmVenueLayerStyle

VmVenueLayerStyle

This class represents all of the stylistic properties that can be configured for display of a map's style

Properties:
Name Type Attributes Description
fillColor string <optional>

The fill color for this layer, which will only applies to polygon layers. This property ignored if fillPattern is not null.

fillPattern string <optional>

The name of the fill pattern to use for this layer, which only applies to polygon layers. The fill pattern must exist by the same name as one of the sprites in the map sprite sheet.

outlineColor string <optional>

The outline color for this layer, which only applies to polygon layers.

fontName string <optional>

The name of the font to use for this layer, which only applies to text layers. The font must exist by the same name in your mapview's font glyph url

fontSize string <optional>

The size of the font

fontColor string <optional>

The color of the font

fontStrokeColor string <optional>

The stroke color of the font

fontStrokeWidth string <optional>

The stroke width of the font

maxTextWidth string <optional>

The max width a label can be before it wraps to another line

iconName string <optional>

The name of an image to use for the icon, which only applies to icon layer. This icon must exist by the same name in your mapview’s icon url. This icon name can come directly from your map tile or geojson properties.

Since:
  • 1.2.1