##  model  â

Warning

Note that this is an experimental feature which is under development and is
prone to change.

A ` model ` style layer renders 3D buildings and instanced models (for
example, trees in standard style). ` model ` layer renders content from
following sources:

  1. vector or GeoJSON (Used for trees in standard style) 
  2. ` batched-model ` (Used for landmark buildings in standard style) 

To place third party models on the map the first approach should be used. It's
possible to adjust rotation, scale, color, color mix and level of details for
the models using the properties of the ` model ` layer.

Various trees rendered on the map using [ ` model-id ` ](/style-
spec/reference/layers/#layout-model-model-id) layout property and [ ` model-
rotation ` ](/style-spec/reference/layers/#paint-model-model-rotation) paint
property.

###  model-ambient-occlusion-intensity  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) between ` 0 ` and ` 1 `
inclusive  .  Defaults to ` 1 ` .  Supports  [ smooth-ramp  ` interpolate `
](/style-spec/reference/expressions/#interpolate) expressions.  opacity
Transitionable.

Intensity of the ambient occlusion if present in the 3D model.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 3.0.0  |  >= 11.0.0  |  >= 11.0.0   
  
###  model-cast-shadows  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
boolean ](/style-spec/reference/types/#boolean) .  Defaults to ` true ` .

Enable/Disable shadow casting for this layer

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 3.0.0  |  >= 11.0.0  |  >= 11.0.0   
  
###  model-color  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
color ](/style-spec/reference/types/#color) .  Defaults to ` "#ffffff" ` .
Supports  _[ combine  ` feature-state ` ](/style-
spec/reference/expressions/#feature-state) _ and [ smooth-ramp  ` interpolate
` ](/style-spec/reference/expressions/#interpolate) expressions.  opacity
Transitionable.

The tint color of the model layer. model-color-mix-intensity (defaults to 0)
defines tint(mix) intensity - this means that, this color is not used unless
model-color-mix-intensity gets value greater than 0. Expressions that depend
on measure-light are not supported when using GeoJSON or vector tile as the
model layer source.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 3.0.0  |  >= 11.0.0  |  >= 11.0.0   
data-driven styling  |  >= 3.0.0  |  >= 11.0.0  |  >= 11.0.0   
  
###  model-color-mix-intensity  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) between ` 0 ` and ` 1 `
inclusive  .  Defaults to ` 0 ` .  Supports  _[ combine  ` feature-state `
](/style-spec/reference/expressions/#feature-state) _ and [ smooth-ramp  `
interpolate ` ](/style-spec/reference/expressions/#interpolate) expressions.
opacity  Transitionable.

Intensity of model-color (on a scale from 0 to 1) in color mix with original
3D model's colors. Higher number will present a higher model-color
contribution in mix. Expressions that depend on measure-light are not
supported when using GeoJSON or vector tile as the model layer source.

SDK Support  |  Mapbox GL JS  |  Android SDK  |  iOS SDK   
---|---|---|---  
basic functionality  |  >= 3.0.0  |  >= 11.0.0  |  >= 11.0.0   
data-driven styling  |  >= 3.0.0  |  >= 11.0.0  |  >= 11.0.0   
  
###  model-cutoff-fade-range  â

[ Paint ](/style-spec/reference/layers/#paint-property) property.  Optional  [
number ](/style-spec/reference/types/#number) between ` 0 ` and ` 1 `
inclusive  .  Defaults to ` 0 ` .

This parameter defines the range for the fade-out effect before an automatic
content cutoff on pitched map views.