Geoportal SDK 2D/3D API Reference

Namespace: MapboxStylesOptions

Gp.MapboxStylesOptions

Options for MapBox vector layers : Styles

Common 2D/3D properties

property Type Description
styles Array(Object) Styles available for the mapbox layer
styles.name String Name of the style as it should appears on the layerSwitcher
styles.url String Url to the json file describing the style
styles.thumbnail String Thumbnail of the style
styles.description String Description of the style
styles.selected Boolean True if the style must be selected by default