whether to activate or deactivate the terrain
Error is no terrain is available
// returns true if the map is associated with a terrain
if(JMap.Map.isTerrainAvailable()){
JMap.Map.setTerrainActive(true)
}else{
console.log("no terrain available")
}
JMap.Map.setTerrainActive
Returns true if the map is associated with a terrain.